Skip to content
Tcl Source Code Artifact [102b9fd3dd]
Login

Artifact [102b9fd3dd]

Artifact 102b9fd3ddbc0c6845e75f06e6e0db7d201a45aa:

Ticket change [102b9fd3dd] - Ticket [577014ffffffffff|577014ffff] <i>documentation; wait on thread exits</i> status still Open with 4 other changes by vasiljevic on 2002-07-23 14:47:35.
D 2002-07-23T14:47:35
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\n5.\sIt\sseems\sthat\syou\sduplicate\ssome\sTCL\sfunctions\s(e.\sg.\sfor\nlists\sand\sarrays)\sto\smake\sthem\san\s"atomic\soperation".\nAre\syou\sgoing\sto\scontinue\sthis\sway\swith\sfunctions\slike\n"string",\s"regexp"\sor\s"keyed\slist"\sfrom\sthe\sTclX\sextension?\n\nThe\skeyed-list\sis\salready\sdone,\sbut\sI\sdid\snot\sinclude\sit\nin\sthe\scurrent\srelease\ssince\sit\sneeds\ssome\smore\stesting.\nI\sdid\snot\slook\sinto\sothers\sbecause\sI\shad\sno\sneed\sfor\sthem.\nMainly\sbecause\sstrings\sare\sstrings\sand\syou're\snot\sgaining\s\ntoo\smuch.\sFor\sall\sTcl\sdatatypes\swhich\s*have*\sinternal\s\nobject\srepresentation,\sthis\scan\sbe\sa\sbig\sgain.\sFor\sall\sothers\nit\sis\sjust\sa\ssimple\sconvenience\sof\ssaving\syourself\sone\smutex.\n\n1.\sI\swould\slike\sto\sread\smore\sabout\serror\shandling.\s\nAre\sany\serrors\sor\sexceptions\sthrown\sby\sthe\sthread\sand\stsv\nfunctions?\n\nGenerally,\ssyntax\serrors.\sthread::send\sreports\serror\swhen\s\nthe\sposted\sscript\sresults\sin\serror.\sMost\stsv::*\sfunctions\sreport\nerror\swhen\sthey\sare\snot\sable\sto\sfind\sthe\sarray\sor\sthe\s\nelement,\sbut\sI\sthink\sthis\sshould\sbe\salready\sdocumented.\sIf\s\nnot,\splease\sreport\sand\sI'll\scorrect\sit.\n\n2.\sIs\sit\spossible\sto\sdivide\sthe\sfunction\slist\sinto\stwo\ssections\n"thread"\sand\s"tsv"?\nGood\spoint.\sI\sdid\snot\slike\sit\sthis\sway\seither\sin\sthe\sfirst\splace.\nBut\sone\shas\sto\shave\ssome\sroom\sfor\sfuture\simprovements\s;-)\n\n3.\sCan\seach\sentry\sin\sthe\ssynopsis\slink\sto\sthe\sfunction\ndescription?\n\nUnfortunately,\sthis\sis\sTMML\sand\sI\smust\splay\sby\sthe\srules.\nTMML\sdoes\snot\sprovide\ssuch\sfuntionality\sAFAIK.\nBut\syou\scan\salways\spost\sa\squestion\sto\sTMML\sgroup\n(on\sSF).\n\n4.\sYou\soffer\sprotection\sfor\sthread\sshared\svariables.\sDoes\sit\nmake\ssense\sto\sextend\sthis\stechnique\sfor\sTCL\sscripts?\n\nYou\scan\sto\sthis\swith\sa\ssimple\smutex\sarround\sthe\sscript.\nThe\s"locked"\sscript\sevaluation\sshould\sreally\sbe\sthe\sfeature\nof\sthe\sTcl\score,\sIMHO.\s\sBut,\sthis\sis\stricky\sstuff\sand\smight\s\nleed\sto\srecursive\slocks,\sreader/writer\slocks\sand\sall\sother\s\nsort\sof\sthings.\sIf\syou\swere\sthe\sdeveloper,\swhat\spath\swould\s\nyou\stake?\sJust\scurious...\n\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 577014ffffffffffffffffffffffffffffffffff
U vasiljevic
Z b3d18e0c0a65d6f6f076e403836cb01d