Message176474
> for example, if you call malloc() from within a signal handler, you can get a deadlock or a crash if the signal was received while the process was in the middle of an malloc() call.
Thanks, I see the problem. malloc() implements locking (when threads are enabled), but does not mask signals. When re-entered, this deadlocks. |
|
Date |
User |
Action |
Args |
2012-11-27 13:16:25 | zdenek.pavlas | set | recipients:
+ zdenek.pavlas, jcea, neologix |
2012-11-27 13:16:25 | zdenek.pavlas | set | messageid: <1354022185.46.0.299077793498.issue16560@psf.upfronthosting.co.za> |
2012-11-27 13:16:25 | zdenek.pavlas | link | issue16560 messages |
2012-11-27 13:16:25 | zdenek.pavlas | create | |
|