linux - Signal not delivered for a very long time (about 20 seconds) -
a signal process has sent within signal handler not delivered 20 seconds , delivered.
what probable causes?
i know probable reasons in general.
the actual code looking @ here
most probably, you're calling function within signal handler mustn't call within signal handler.
see man 7 signal
details:
async-signal-safe functions
a signal handler function must careful, since processing elsewhere may interrupted @ arbitrary point in execution of program. posix has concept of "safe function". if signal interrupts execution of unsafe function, , handler calls unsafe function, behavior of program undefined.
Comments
Post a Comment