Skip to content
Tcl Source Code Artifact [4b9fd3e003]
Login

Artifact [4b9fd3e003]

Artifact 4b9fd3e00311778759bf5ce231f25aab4bac3bb6:

Ticket change [4b9fd3e003] - Ticket [577014ffffffffff|577014ffff] <i>documentation; wait on thread exits</i> status still Open with 4 other changes by vasiljevic on 2002-08-07 19:43:19.
D 2002-08-07T19:43:19
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\n1.\sWhich\sparts\sof\sthe\spackage\sare\susable\swith\searlier\sTCL\nversions?\n\nThreading\sextension\ssupport\sTcl8.3.2+\son\sall\scommands\nexcept:\n\s\sthread::join\s(and\sthe\sthread::create\s-joinable)\n\s\sthread::transfer\n\n7.\sWhat\sdoes\shappen\sif\sseveral\sthreads\ssend\sscripts\sto\s\n\s\s\s\sthe\ssame\starget\n\s\s\s\s\n\s\s\s\sScripts\swill\sbe\sentered\sin\sthe\sevent\sloop\sof\sthe\starget\n\s\s\s\sthread\sand\sexecuted\sone\safter\sanother\son\sFIFO\sbasis.\n\n1.\sWhat\sare\sthe\ssupport\scalls\sthat\sare\sneeded\sby\sthe\s\n\s\s\s\sthread\spackage\n\n\s\s\s\sEh,\sthe\sTcl\sAPI\sones.\sGrep\sall\ssource\sfiles\sfor\sTcl_*\sand\s\n\s\s\s\syou'll\sget\sthe\slist.\sI\sdo\snot\sthink\sthat\sthose\sneed\sto\sbe\n\s\s\s\sreferenced\sin\sthe\sdocs.\n\n2.\s\nhttp://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/tcl/thread/doc/man/thread.n?rev=1.6&content-type=text/vnd.viewcvs-markup\n\n2.2.1\sIs\sthe\sidentifier\sstill\svalid\sif\sa\sthread\swas\sterminated?\s\nCan\sthe\sthread\sID\sbe\sreused?\s\n\n\s\s\sIdentifier\sis\svalid\suntil\sthread::join\sfor\sthreads\screated\swith\n\s\s\s"-joinable"\sflag.\sIdentifier\scannot\sbe\sreused.\sIt\sis\n\s\s\sgenerated\sby\sthe\ssystem\sfor\seach\snew\sthread.\sIdentifier\s\n\s\s\sgoes\sout\sof\sscope\swhen\sthe\sthread\sis\sjoined.\sThread\sis\n\s\s\sjoined\sby\sthe\sTcl\sAPI\s(implicitly)\sor\sby\suser\s(using\sthe\s\n\s\s\sthread::join\scommand)\sexplicitly.\n\n2.2.2\sHow\smuch\s"bookkeeping"\sis\sperformed\sby\syour\s\s\npackage\n\s\s\s\sTough\squestion.\sDefine\s"bookkeeping".\n\n2.2.3\sCan\sa\sfinished\sthread\sbe\srestarted\nor\sbrought\sit\sto\swait\sfor\snew\sincoming\scommands\n\s\n\s\s\s\s\sNo.\n\n3.1\sOk.\n3.2.\sI\splan\sto\sdo\spools\son\sC-level,\sbecause\sit\sis\sso\scommon\nand\svery\suseful.\sOther\sthreading\sparadigms\slike\sworkpile\s\nand\sothers\scan\sbe\simplemented\son\sTcl\slevel,\swhich\sis\sout\nof\sthe\sscope\sof\sthe\sthreading\sextension\sper-se.\n\n4.\sthread::create\s?-preserved?\s?-joinable?\s?script?\n5.\sA\sgood\spoint.\n6.\sAnother\sgood\spoint\s:)\n\n\n\n\n\s\s\s\n\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 577014ffffffffffffffffffffffffffffffffff
U vasiljevic
Z 18f8a3c0e7d5b396b1b3e8bb9b4871fd