<i>documentation; wait on thread exits</i> status still Open with 4 other changes
by
.
D 2002-07-23T21:24:15
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\n7.1\sHey,\sthis\slittle\sbastard\sis\snot\sthere?\s\nI'll\sadd\sthat,\sof\scourse.\n\n7.2\sMust\sa\s"vwait"\sas\soften\sbe\scalled\sas\sa\sthread\swill\sstore\s\nthe\sexecution\sresult\sin\sthe\sspecified\svariable?\n\nYes.\n\nDid\syou\scall\sit\stwice\sin\syour\sexample\sbecause\syou\screated\s\ntwo\sthreads\swith\sthe\ssame\svariable\s"result"?\s\n\nYes.\n\n8.\sWhat\swill\shappen\sin\sa\s"thread::send"\sif\san\serror\soccurs\sor\s\nthe\sTCL\sfunction\s"return"\sis\scalled\sbefore\nthe\sexecution\sresult\sis\sstored\sin\sthe\sspecified\svariable?\n\nResult\sof\sthe\sscript\swill\sALWAYS\sbe\sstored\sin\sthe\s"result"\s\nvariable,\sno\smatter\swhat\shappes.\sEvent\sif\sthe\starget\sthread\s\nexits\sin\sthe\smiddle\sof\sprocessing.\n\n9.\sI\swill\sconsider\sthis.\sThis\sintrospective\scapability\sshould\s\nbe\sgood\sfor\sstatistics\sand\ssuch.\sI\sagree.\sSome\sof\ssuggested\s\nfunctionality\sis\squite\seasy\sto\sdo,\sbut\ssome\sis\sreally\s\nimpossible\s(mutex\sis_locked,\smost\snotably).\n\n10.\sWhat\sfunctions\syou're\sreferring\sto?\s\n\n11.\sPossible\s(in\ssome\ssituations)\sbut\snot\sso\ssimple\sas\sit\s\nmight\sappear\son\sthe\sfirst\sglance.\sDoing\sa\sunlock\sof\s\na\schain\sof\smutexes\sof\snotify\sof\sa\schain\sof\scond\svars\sis\n*very*\stricky\sand\sI'd\ssay,\simpossible\sin\smost\scases.\s\nPreserve/release\sshould\sbe\seasier,\sthough.\n\n----\nIf\swe\scontinue\sat\sthis\space,\swe'll\sblow\sthe\sSF\sstorage\s;-)\nYou\scan\salways\ssend\sme\san\semail\sdirectly:\s\[email protected]\n\n\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 577014ffffffffffffffffffffffffffffffffff
U vasiljevic
Z 5484cd847d9c618264e2cc7ba90ea805