|
|
Hello!
The thread::exit call is documented to as deprecated:
http://tcl.cvs.sourceforge.net/*checkout*/tcl/thread/doc/html/thread.html#7
and is supposed to disappear "soon".
However, the proposed alternative (thread::release) has no obvious way to
signal the thread's exit code, which the thread::join-ing thread may wish
to examine:
tcl.cvs.sourceforge.net/*checkout*/tcl/thread/doc/html/thread.html#14">http://tcl.cvs.sourceforge.net/*checkout*/tcl/thread/doc/html/thread.html#14
What's the right way for a thread to end itself, while also signaling its
exit-status to whoever cares?
Thanks!
-mi
|
|