Signal not delivered for a very long time (about 20 seconds)
1 answer
You are most likely calling a function from a signal handler that you shouldn't be calling from that signal handler.
See more details man 7 signal
:
Security Features Using Async
The signal handler function must be very careful, as processing elsewhere may be interrupted at some arbitrary point in program execution. POSIX has a "safe function" concept. If a signal interrupts the execution of an unsafe function, and the handler calls an unsafe function, then the program's behavior is undefined.
+2
source to share