Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: END block not excuting when thread interrupted

by starbolin (Hermit)
on Jul 09, 2006 at 06:28 UTC ( [id://559980]=note: print w/replies, xml ) Need Help??


in reply to END block not excuting when thread interrupted

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}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://559980]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-28 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found