Re: Next release: signal handling rewrite

2020-01-06 Thread Gisle Vanem
Paul Smith wrote: What I'm considering is enhancing the EINTRLOOP etc. macros that I have added across the code to check all system calls for EINTR and restart them, so that this macro also checks to see if a signal has been received and if so, calls a handler function. For almost all signals t

Next release: signal handling rewrite

2020-01-05 Thread Paul Smith
I have a deeper set of followup changes I am working on for a post-4.3 release that rewrite the signal handling in GNU make, so that we do not do any work in signal handlers other than setting flags. Today, far too much is done in signal handlers resulting in a number of bugs about hangs etc. (and