Skip to content
Tcl Source Code Artifact [e19d43f52e]
Login

Artifact [e19d43f52e]

Artifact e19d43f52e4ed76b3bfb2f6f151124f2d908496f:

Ticket change [e19d43f52e] - Ticket [577014ffffffffff|577014ffff] <i>documentation; wait on thread exits</i> status still Open with 4 other changes by vasiljevic on 2002-08-08 16:45:04.
D 2002-08-08T16:45:04
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\n1.\sNo\n7.\sUnfortunately.\sat\sthe\smoment\sno.\sThe\s"waiting\squeue"\sis\s\nreally\sthe\sevent\sloop\sand\sTcl\sdoes\snot\sexport\sany\sfunctions\s\nabout\sinterrogating\sthe\sevent\sloop\sentries,\sthe\ssize\sof\sit,\setc.\n9.\sI'd\ssay\snot\smore\sthan\shandling\sprocesses.\sActually,\sthey\s\nare\smuch\ssimpler\sto\shandle\sthan\sprocesses,\sIMO.\n\n2.\sMo\sdid\supdate\sthe\sthread.n\sfile\sin\sCVS\sdirectly\sand\sis\s\nnow\snot\sin\ssync\swith\shtml\sagain.\sIdea\sis\sto\shave\sthread.tmml\s\nand\sgenerate\sboth\sdoc\sformat\sautomatically.\sI\swill\sfix\sthis.\n\n2.2.1.\sDepends\son\sthe\sunderlying\sthreads\slibrary.\sNormaly\s\nwhat\sis\ssaved\sis\sthe\sexit\scode\swhich\sis\susually\sand\sinteger.\nBut\sthis\smay\svary\sfrom\simplementation\sto\simplementation.\s\nYou\sbetter\sjoin\sthreads\sexplicitly\sif\syou\screated\sthem\sas\s\njoinable,\sotherwise\syou're\ssearching\sfor\strouble.\n\n2.2.2\sNow\sI\sunderstand.\sOk,\sthe\slibrary\shas\screate/destroy\nthings\sfor\smutexes\sand\scondition\svariables.\sIt\salso\simplicitly\s\nsets\sshared\sarrays.\sThose\slive\sindependently\sof\sthreads\s\nand\sare\snever\sautomatically\sdestroyed,\sunless\syou\s\nexplicitly\ssay\sso.\sEven\son\sthe\sapp\sexit\s(there\sare\sgood\s\nreasons\sfor\sthat).\s\nWhat\sis\snot\sso\sclear\sis\sthread\screation/destroy.\sThis\sis\s\nsomehow\sshadowed.\sThe\sthread\screation\sis\sstraightforward.\nThe\stermination\snot.\sYou\shave\sthread::unwind,\sthread::exit\s\nand\sthread::release\sfor\sthis.\sAll\sserve\sdifferent\spurposes\sand\s\nit\sis\snot\salways\sfeasible\snor\spossible\s\sto\smaintain\sthe\s\ncreate/destroy\sparadigm\sin\sthis\scase.\n\nConcerning\sdocs,\smany\sof\suseful\shints\sand\sideas\sare\sfound\s\nin\sthis\sdialog.\sI\swill\scompile\sthem\sand\sextend\sthe\sdocs.\nThanks\sfor\syou\sremarks\sand\sinputs.\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 577014ffffffffffffffffffffffffffffffffff
U vasiljevic
Z 84a56434a9aeac15a831cdf9556a795e