Should be possible to make it yield-safe in the first, third and fourth arguments with only minimal effort. The second argument would require the same techniques as Bug#2823282.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Should be possible to make it yield-safe in the first, third and fourth arguments with only minimal effort. The second argument would require the same techniques as Bug#2823282.
Commands [for], [if], [while] all call
Tcl_ExprBooleanObj() to evaluate
expressions. Should migrate to
Tcl_NRExprObj() to NR-enable them.
[for] (and [while]) now converted to be [yield]-safe in all arguments.
[if] now converted.