<i>call for a function that is not thread safe</i> status still Open with 4 other changes
by
.
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