lkml.org 
[lkml]   [2010]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2010-05-27 23:27    [W:0.392 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site