Skip to content
Tcl Source Code Artifact [7ce4fb8c12]
Login

Artifact [7ce4fb8c12]

Artifact 7ce4fb8c12a0261e8bca436701fa9be118a8deea:

Ticket change [7ce4fb8c12] - Ticket [577014ffffffffff|577014ffff] <i>documentation; wait on thread exits</i> status still Open with 4 other changes by nobody on 2002-07-23 02:08:28.
D 2002-07-23T02:08:28
J icomment Logged\sIn:\sNO\s\n\n1.1\sI\sthink\sthat\sit\scan\shappen\sin\syour\scode\sexample\sthat\sthe\s\s\nsecond\sthreads\sexits\swhile\sthe\sfor\sloop\sis\sstill\swaiting\sfor\s\s\nthe\sfirst\sthread\sto\sexit.\sOr\sis\sthis\sa\swrong\sassumption\sfrom\sme?\s\s\nIs\sit\senough\sto\swait\sfor\sthe\schange\sof\sthe\svariable?\sIs\sthis\s\s\nthe\sonly\s"wrapping"\sthat\sneeds\sto\sbe\sdone\s\s\n\s\s\nThe\sexample\swaits\sfor\s2\striggers\son\sthe\s"result"\svariable.\s\s\nThe\svariable\swill\sbe\striggered\stwice,\seach\stime\swhen\sa\s\s\s\nthread\sis\sfinished\swith\sprocessing\sthe\sscript.\sSince\swe\shave\s\s\npassed\s2\sscripts\sto\stwo\sthreads,\sit\swill\swork.\s\s\nRemember\sthat\sthe\sevents\saccumulate\sin\sthe\scaller's\sthread\s\s\nevent\sloop,\sso\sthere\sis\sno\srace\scondition,\syou\shave\s\s\nanticipated.\s\s\nYes,\sthis\sis\sthe\sonly\sreally\swrapping\sneeded.\sOne\scan\sof\s\s\ncourse\sdo\smuch\smuch\smore\sthere,\sbut\sthis\sis\sout\sof\sthe\s\s\nscope\sof\sthis\slittle\sexample.\s\n\s\n1.2\sAre\syou\sgoing\sto\sprovide\sthread\spooling\sin\sthe\slibrary?\s\nI\splay\swith\sthe\sthought\sto\sabstract\sthread-pools\son\sthe\s\s\nC-level\sbecause\sit\sis\ssuch\sa\scommon\sconstruct.\sI\scan't\ssay\s\nwhen\sI'll\sbe\sattending\sthis.\sYou\smight\sjump\sin\sif\syou\slike\sand\s\njoin\sthe\sshow\s:)\s\n\s\n3.\sWill\san\sexample\sfor\sthis\sapplication\sin\sthe\sdocumentation?\s\nAs\sI\ssaid,\s2.5\swill\shave\sa\stutorial\ssection\swhere\sI\splan\sto\s\s\npresent\ssome\scommon\susage\spatterns.\s\n\s\n4.\sPlease\ssend\sa\slink\sto\sthe\sdocumentation\sfor\sthe\s2.4\sversion.\s\n\s\nYou\scan\scheck-out\sthe\sdocs\sfrom\sCVS\son\sSF\s(here).\s\nIt\sis\sunder\sTcl\sproject,\sthread/doc\sdirectory.\sBut\sI'll\sbe\s\s\nwrapping\sthe\srelease\sof\s2.4\snow,\sso\syou'll\sbe\sable\sto\sget\s\nthe\swhole\starball\s(zipball)\sfrom\sthe\sSF\sdownload\sarea.\s\s\n\s\nBTW,\syou\smight\sswitch\sto\sc.l.t\sand\sstart\sa\sthread\sso\severybody\s\nelse\salso\sgets\sinvolved.\s\s\n\s\n
J login nobody
J mimetype text/plain
J username nobody
K 577014ffffffffffffffffffffffffffffffffff
U nobody
Z 5cc7298bea47d8b575129e3c8e7c5a63