Hello Guys,
Thanks again for all the help you've given me this past week, things are
moving briskly and my class library is building nicely and seems to be
working well :-D
Now, I'm working with an API for another piece of software today, and the
API documentation details the signals that a
> So, is there a) any mechanism inside Python that can detect if the
> current code is executed in a signal handler, or b) a list of
> statements that must not be used in a Python signal handler in order
> to avoid glibc function calls that are not async-signal safe?
The executi
Hi,
can I make sure that Python uses only async-signal safe glibc
functions in signal handlers?
For example, you must not call malloc or free in signal handlers, see
http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html#tag_02_04_03
The reason is, that if a signal is caught