Overview
| Artifact ID: | a7f7ca9c434172b42be477284d5a2ff0fd7ee112 |
|---|---|
| Ticket: | 597997ffffffffffffffffffffffffffffffffff
async+thread panic |
| User & Date: | andreas_kupries on 2002-08-22 04:23:22 |
Changes
- icomment:
Logged In: YES user_id=75003 Adding a 'return' just after the 'flush stdout' in spawn makes the crash go away. What the change does is defer 'set forever 1' until the chosen number of threads were created. This means that the 'vwait' at the end of the scripts exist only after the system is done with the threads. Setting forever to one while still spawning a thread causes the system to sometimes exit vwait and the application while a spawned thread is still running and accessing shared data structures. In other words: This seems to be the same problem we already know about, i.e. do not exit the application until you are sure that all sub-thread are done. Just in a different guise. See Tcl Bug #486399.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"