| Ticket UUID: | 1222872 | ||
| Title: | Protect against spurious wakeups | ||
| Type: | Bug | Created on: | 2005-06-17 19:36:27 |
| Submitter: | elfring | Assigned to: | vasiljevic |
| Subsystem: | 49. Threading | Severity: | |
| Priority: | 5 Medium | Last modified: | 2005-07-01 18:00:11 |
| Status: | Closed | Closed by: | vasiljevic |
| Resolution: | Fixed | Closed on: | 2005-07-01 11:00:11 |
| Version: | obsolete: 8.4.10 | ||
| Description: | ||||
"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(¬ifierCV, ¬ifierMutex, NULL); result = Tcl_JoinThread(notifierThread, &ignored); ..." Please add the test for the predicate in a while loop. | ||||
| User Comments: | ||||
vasiljevic added on 2005-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. vasiljevic added on 2005-07-01 18:00:11:
Logged In: YES user_id=95086 This is now fixed in core-8-4-branch and head. | ||||
