Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8)
On Thu, May 27, 2010 at 07:56:58PM +0100, Matthew Garrett wrote: > Even if it's using poll, it could block purely on the display if X turns > the screen off between poll() waking and the write being made.
That's what fcntl(fd, F_SETFL, O_NONBLOCK) is for.