From: SourceForge.net <no...@so...> - 2009-03-13 14:24:26
|
Bugs item #2511424, was opened at 2009-01-15 16:25 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2511424&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 80. Thread Package Group: None Status: Open Resolution: None >Priority: 9 Private: No Submitted By: Don Porter (dgp) Assigned to: Zoran Vasiljevic (vasiljevic) Summary: condition variable error in thread-21.16 Initial Comment: ==== thread-21.16 thread::cond - delete waited variable FAILED ==== Contents of test case: ThreadReap set tid [thread::create] set emutex [thread::mutex create] set cond [thread::cond create] thread::send -async $tid [subst { thread::mutex lock $emutex thread::cond wait $cond $emutex 500 thread::mutex unlock $emutex }] update after 10 set c1 [catch {thread::cond destroy $cond} r1] thread::cond notify $cond after 1000 set c2 [catch {thread::cond destroy $cond} r2] ThreadReap thread::mutex destroy $emutex list $c1 $c2 $r1 $r2 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: no such condition variable "cid30" while executing "thread::cond notify $cond" ("uplevel" body line 14) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== thread-21.16 FAILED ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2009-03-13 10:23 Message: Any chance someone can look into these? I'd like to consider Thread for bundling with Tcl 8.6, but failures like this make me think it's not ready. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2511424&group_id=10894 |