hstr icon indicating copy to clipboard operation
hstr copied to clipboard

Fix signal handler

Open elfring opened this issue 7 years ago • 1 comments

The function “exit” does not belong to the list of async-signal-safe functions. I guess that a different program design will be needed for your function “signal_callback_handler_ctrl_c”.

elfring avatar Aug 14 '18 14:08 elfring

Hints: perhaps exit() is not needed, use pattern from https://wiki.sei.cmu.edu/confluence/display/c/SIG30-C.+Call+only+asynchronous-safe+functions+within+signal+handlers

dvorka avatar Aug 14 '18 17:08 dvorka