lkml.org 
[lkml]   [2009]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RESEND][RFC PATCH v2] waitfd
On 01/10, Casey Dahlin wrote:
>
> Oleg Nesterov wrote:
>>> From the perspective of waitfd, the only difference between WNOHANG and
>>> O_NONBLOCK is which argument you put the flags in.
>>
>> No. Please see the note about ioctl/fcntl above.
>>
>> Oleg.
>>
> Yes but the actual waitfd call could simply set O_NONBLOCK on the
> descriptor when it receive WNOHANG in the flags, and read the descriptor
> flags going forward.

Ah, I misunderstood your message as if we shouldn't check f_flags at all.

Yes sure.

Oleg.



\
 
 \ /
  Last update: 2009-01-10 23:51    [W:0.147 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site