Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: stray threads

by zentara (Archbishop)
on May 16, 2006 at 18:22 UTC ( [id://549844]=note: print w/replies, xml ) Need Help??


in reply to stray threads

When a parent thread is killed, all child threads will die with it, with the warning "a thread exited while some were running". If a child thread does an "exit", it will take all others with them. Threads are tricky that way.

So I don't think you can do what you want, or you are not stating the question correctly, or are misunderstanding the situation.

You may need to disable Control-c, or have a routine that intercepts that signal, and saves the state of the other threads.


I'm not really a human, but I play one on earth. flash japh

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-20 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found