Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[thread::release -wait [thread::id]] hangs

Closed / Fixed3411244fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2011-09-18 16:40:17
The ThreadReserve() function handles a release
of the current thread different from release of a
different thread.  It does this assuming the current
thread is identified by the magic id value "0".  

However, if [thread::release -wait [thread::id]] is done,
then the non-magic normal id of the current thread comes
in, ThreadReserve() tries to treat it like any other thread,
and ends up hanging waiting for itself.
mistachkinplain2011-11-21 09:52:55
Grabbing this bug because I'm working on it.
mistachkinplain2011-11-21 09:57:30
Fix checked into the tclPreserveFixes branch, see check-in [57e3cc3d37].
dgpplain2012-04-24 03:35:29
allow_comments - 1
Log in (anonymous is fine) to add a comment.