Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: malloc crashby dpuu (Chaplain) |
on Dec 25, 2002 at 07:25 UTC ( [id://222166]=note: print w/replies, xml ) | Need Help?? |
You don't show any code, so I'll answer using generalities.
As a general rule, you should do as little as possible in a signal handler. Typical actions would be to set a flag (which will be detected in the mainline code), or to increment a semaphore (to wake up a thread -- to continue processing). --Dave
In Section
Seekers of Perl Wisdom
|
|