Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-04-24
03:35 • Closed ticket [3411244fff]: :release -wait [thread::id] hangs plus ... artifact: ae06730890 user: dgp
2011-11-21
09:57 • Ticket [3411244fff]: 4 changes artifact: 4bf20d424c user: mistachkin
09:52 • Ticket [3411244fff]: 5 changes artifact: 2a2f8d8a05 user: mistachkin
2011-09-18
16:40 • New ticket [3411244fff]. artifact: 241df71011 user: dgp

[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.