The stupid question is the question not asked | |
PerlMonks |
Re: END block not excuting when thread interruptedby starbolin (Hermit) |
on Jul 09, 2006 at 06:28 UTC ( [id://559980]=note: print w/replies, xml ) | Need Help?? |
Woa... Way not enough information. What OS is the code running on? I assume we're talkin itheads? Are you using join() or detach()? Are the worker threads doing system calls? Writing to disk? What do you mean by interupted? In general the worker threads have to finish, ie. exit normally, before join() and detach() can clean up. From perlthrtut "Similarly, mixing signals and threads should not be attempted."
s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}
In Section
Seekers of Perl Wisdom
|
|