lkml.org 
[lkml]   [2009]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RESEND][RFC PATCH v2] waitfd
From
Date
On Sat, 2009-01-10 at 16:14 -0500, Casey Dahlin wrote:

> From the perspective of waitfd, the only difference between WNOHANG and
> O_NONBLOCK is which argument you put the flags in. The API should only
> support one or the other, but internally they would imply the same thing.
>
Well, you get O_NONBLOCK for free by having a file descriptor; and you
can't turn off people trying to turn it on/off with fcntl() - so you may
as well just use that, no? :-)

Scott
--
Scott James Remnant
scott@canonical.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-01-10 22:23    [W:0.079 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site