Re:Linux Signals – Internals
by zAy0LfpBZLC8mAC on Saturday July 09, 2016 @08:14AM
(#12061062)
It should be noted that the example code is defective: printf() is being called inside the while loop and in the signal handler, which could lead to the printf() in the loop being interrupted by the signal handler, which would call printf() again, but printf() is not reentrant.
[ Parent
| on HN ]
There are no comments on this comment yet.