<i>documentation; wait on thread exits</i> status still Open with 4 other changes
by
.
D 2002-08-06T17:45:22
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\nConsider:\n\n\s\s\s\sforeach\sscript\s{{set\sa\s1}\s{set\sb\s2}\s{set\sc\s3}}\s{\n\s\s\s\s\s\s\s\slappend\stids\s[thread::create\s-joinable\s$script]\n\s\s\s\s}\n\s\s\s\sforeach\stid\s$tids\s{\n\s\s\s\s\s\s\s\sthread::join\s$tid\n\s\s\s\s}\n\nThis\sworks\sfor\sTcl8.4+.\sThe\s8.4\sis\sreally\sbest\nchoice\sfor\sthreads.\sOut\sof\sthis,\syou\smight\sbe\s\nable\sto\sconstruct\syour\sown\swait\sfunction\sin\sTcl.\n\nThe\s"thread::wait"\sis\smeant\sto\sput\sthe\sthread\s\nin\sthe\sevent\sloop.\sIt\sis\snot\sdesigned\sto\swait\nfor\sthe\sthread\sexit\sor\ssuch.\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 577014ffffffffffffffffffffffffffffffffff
U vasiljevic
Z faa3456885681886c87ba7f85af21756