Re: [patch/rfc] eventfd semaphore-like behavior

From: Davide Libenzi
Date: Wed Feb 04 2009 - 19:03:23 EST


On Thu, 5 Feb 2009, Michael Kerrisk wrote:

> > Dunno. Probably try the syscall and see if it returned -EINVAL. Does
> > that work in this case?
>
> As youll have seen by now, Ulrich and I noted that it works.
>
> > If so, it would be sensible to mention this in
> > the description somewhere as the approved probing method and to
> > maintain it.
>
> I'll add something to the man page, as this patch progresses.

I see we already have stuff like this inside the man pages:

O_CLOEXEC (Since Linux 2.6.23)
Enable the close-on-exec flag for the new file descriptor.
...

Maybe a similar note for the new flag?



- Davide


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/