in reply to malloc crash
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: malloc crash
by Nygeve (Acolyte) on Dec 25, 2002 at 07:49 UTC | |
by hossman (Prior) on Dec 25, 2002 at 08:34 UTC | |
by Nygeve (Acolyte) on Dec 25, 2002 at 09:26 UTC |