Messages in this thread | | | Date | Thu, 27 May 2010 17:24:28 -0400 (EDT) | From | Alan Stern <> | Subject | Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8) |
| |
On Thu, 27 May 2010, Matthew Garrett wrote:
> > > Doesn't help - I may be hit by the signal between the poll() unblocking > > > and me having the opportunity to call sigmask(). > > > > ppoll(). This is all existing solved stuff. > > Isn't that the inverse of what we want? The application should default > to being SIGSTOPpable except in the case of it being in the process of > having a specific event delivered.
Would it help to divide the application into two processes, one of which receives events and the other does the drawing?
Alan Stern
| |