Overview
| Artifact ID: | 72d521be319a31b0af0e30e105e0a82abf31f0e1 |
|---|---|
| Ticket: | 486399ffffffffffffffffffffffffffffffffff
Panic on exit before all threads returned |
| User & Date: | msofer on 2006-03-15 17:06:49 |
Changes
- icomment:
Logged In: YES user_id=148712 Bug #597997 (closed as a dup of this one) has a small test script to trigger the panic: package require Thread set i 0 while {[incr i] <= 2} { thread::create "puts $i" } Avoid the panic by adding the following at the end: # make sure to wait until all threads have returned while {[llength [thread::names]] > 1} { after 100 set x 1 vwait x } - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"