On Wednesday, November 13, 2002, at 02:20 PM, Seth Fitzsimmons wrote:

Is there a list of Tcl commands that aren't threadsafe and thus
shouldn't be used in AS?
I don't think this is an issue of thread safety, so much as bugs in the
implementation or use of commands that can cause problems.  The "cd"
command appears to share behavior with the "clock format ... -gmt 1"
 bug that Zoran reported recently (fixed now or soon, right?) in that both
commands affect a process-wide resource without locking it, which can lead
to memory corruption, so I think the right guideline is that Tcl commands
which affect process-wide resources should be sure to lock some resource
to ensure single-threaded access to the command.


Reply via email to