This is the mail archive of the
mailing list for the Cygwin project.
Re: Signal handling tune up.
At 08:50 PM 8/19/2003 -0400, Christopher Faylor wrote:
>On Tue, Aug 19, 2003 at 08:41:35PM -0400, Christopher Faylor wrote:
>>However, it has been bothering me for a long time that all of this
>>signal mask stuff is in the pinfo structure. This is a holdover from
>>early cygwin that doesn't make any sense. So, sometime soon, I'm
>>going to rip much of the signal handling out of pinfo and put it
>>into local arrays.
>Actually, just to clarify, you do have to save siga's mask away
>somewhere since there could be a race otherwise.
Good point. But siga = myself->getsig (sig) so it can be calculated
on the fly.
Or do you mean that the program could change the sigaction mask
in midstream? That would be unsafe programming.