Re: Tcl Thread Safety / Windows build



wbaugur@xxxxxxxxxxxxx writes:

Thanks, I'm not trying to use threads explicitly but rather just need
to confirm that the Tcl dll handles reentrancy from multiple
simultaneous Tcl interpreters properly. A developer who has left our
company said that Tcl after 8.2 wasn't thread-safe and so we couldn't
upgrade to 8.4, but he never told us what he meant by that.

Interesting question. I certainly don't know, but I am interested.
Are there any particular sub-versions that should be avoided, because
of bugs in reentrancy?

My understanding is that any Tcl is safe to use in a threaded application
when each thread gets its own interp, and there is no communication
between those Tcl interps. Is my understanding right?


--
Donald Arseneau asnd@xxxxxxxxx
.



Relevant Pages

  • Tcl 8.4.13 Thread-safety
    ... A few months ago I asked if the Tcl 8.4 Dll was thread-safe and the ... I grabbed the 8.4.13 Dll and source, and went through all the various ... modules except the one that creates multiple interpreters and passes ...
    (comp.lang.tcl)
  • Re: Tcl Thread Safety / Windows build
    ... Tcl 8.3 wasn't thread-safe; there were definite ... bugs in there! ... it violates *loads* of deep ...
    (comp.lang.tcl)
  • Re: Tcl Thread Safety / Windows build
    ... to confirm that the Tcl dll handles reentrancy from multiple ... simultaneous Tcl interpreters properly. ...
    (comp.lang.tcl)
  • Re: Threads in TCL?
    ... Gerald W. Lester wrote: ... package for 8.4, but I don't remember how stable it was with 8.0. ... The first version of Tcl that was thread-safe in its released state ...
    (comp.lang.tcl)