Re:Writing my own init with Go
by d0mine on Tuesday February 09, 2016 @02:07PM
(#11067811)
A signal interrupts a blocking syscall. You can call PyErr_CheckSignals() that may execute Python signal handler before you restart the syscal on EINTR in C code. Look at how os.waitpid() is implemented: https://github.com/python/cpython/blob/master/Modules/posixm...
[ Parent
| on HN ]
There are no comments on this comment yet.