.
D 2002-08-22T21:21:46
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nMislabeled\sticket,\sthis\shas\snothing\sto\sdo\swith\sasync\sand\sis\nindeed\san\s"exit\sbefore\sall\sthreads\sreturned":\sthe\sfollowing\nscript\sshows\sthe\ssame\sbehaviour\n\n\s\s\s\slappend\sauto_path\s/CVS/thread/unix\n\s\s\s\spackage\srequire\sThread\n\s\s\s\sset\si\s0\n\s\s\s\swhile\s{[incr\si]\s<=\s2}\s{\n\s\s\s\s\s\s\s\sthread::create\s"puts\s$i"\n\s\s\s\s}\n\nand\severything\sis\sfixed\sby\sadding\sthe\sfollowing\sat\sthe\send:\n\n\s\s\s\s#\smake\ssure\sto\swait\suntil\sall\sthreads\shave\sreturned\n\s\s\s\s#\sbefore\sexiting\s[bug\s#597997]\n\s\s\s\swhile\s{[llength\s[thread::names]]\s>\s1}\s{\n\s\s\s\s\s\s\s\safter\s100\sset\sx\s1\n\s\s\s\s\s\s\s\svwait\sx\n\s\s\s\s}\n\n\n\n
J login msofer
J mimetype text/plain
J username msofer
K 597997ffffffffffffffffffffffffffffffffff
U msofer
Z c21a8d99c4ca8391381500c27b8ab73e