Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-07-01
18:00 • Closed ticket [1222872fff]: Protect against spurious wakeups plus 7 other ch... artifact: a62e5295cc user: vasiljevic
2005-06-21
02:30 • Ticket [1222872fff]: 5 changes artifact: bdc50b2c2a user: vasiljevic
2005-06-17
19:36 • New ticket [1222872fff]. artifact: 2049fada60 user: elfring

Protect against spurious wakeups

Closed / Fixed1222872fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-06-17 19:36:27
"Spurious notifications" are mentioned on the page
"http://tcl.tk/man/tcl8.5/TclLib/Thread.htm#M7".
=> The following code in the function
"Tcl_FinalizeNotifier" (file
"http://cvs.sourceforge.net/viewcvs.py/tcl/tcl/unix/tclUnixNotfy.c?rev=1.20.2.1&view=markup")
should be improved.
"...
Tcl_ConditionWait(&notifierCV, &notifierMutex, NULL);
result = Tcl_JoinThread(notifierThread, &ignored);
..."

Please add the test for the predicate in a while loop.
vasiljevicplain2005-06-21 02:30:36
Logged In: YES 
user_id=95086

This is correct. I also noticed this bug while going after some
other bug reported in Tk project.
This should be solved BUT I'll refrain from this until
the 8.4.11 goes out. 
I'm assigning this to myself now.
vasiljevicplain2005-07-01 18:00:11
Logged In: YES 
user_id=95086

This is now fixed in core-8-4-branch and head.
Log in (anonymous is fine) to add a comment.