Skip to content
Tcl Source Code Artifact [574c0bcd28]
Login

Artifact [574c0bcd28]

Artifact 574c0bcd280b7a37a50532aa4a9debf13e270b38:

Ticket change [574c0bcd28] - Ticket [674367ffffffffff|674367ffff] <i>call for a function that is not thread safe</i> status still Open with 4 other changes by vasiljevic on 2003-01-27 21:15:05.
D 2003-01-27T21:15:05
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\nWell,\sreturning\sof\svalues\sfrom\sthreads,\susing\sthe\sthread::send\s\nis\salready\sdamn-simple.\sI\sdo\snot\sknow\show\sto\smake\sit\ssimpler.\s\nIt\sis\seither:\s\n\s\n\s\sset\sresult\s[thread::send\s$tid\s"set\ssomevar\s12"]\s\nor\s\n\s\sthread::send\s$tid\s"set\ssomevar\s12"\sresult.\s\s\n\s\nWhat\scan\sbe\ssimpler\sthan\sthis?\s\n\s\nIf\syou\swant\sto\seval\sthe\sscript\sin\san\satomic\sfashion\s\nin\sthe\sother\sthread,\sone\scan\sperhaps\ssay:\s\n\s\n\s\sthread::send\s-lock\smyMutex\s$tid\s{open\sfile.txt}\sresult\s\n\s\nWould\sthis\ssatisfy\syour\srequirement?\s\n\s\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 674367ffffffffffffffffffffffffffffffffff
U vasiljevic
Z 6d7960a712bd9892670cc9653e2535c9