Zdenek Pavlas added the comment:

> 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.

----------
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16560>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to