This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16524] eventfd_write() doesn't work when 2nd argument is zero
- From: "structurechart at yahoo dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 06 Oct 2015 06:44:21 +0000
- Subject: [Bug libc/16524] eventfd_write() doesn't work when 2nd argument is zero
- Auto-submitted: auto-generated
- References: <bug-16524-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16524
--- Comment #5 from structurechart at yahoo dot com ---
(In reply to Djalal Harouni from comment #3)
> Hi,
>
> Just to confirm that this is a non-issue, from eventfd manpage, DESCRIPTION
> - read(2):
>
> "* If the eventfd counter is zero at the time of the call to
> read(2), then the call either blocks until the counter
> becomes nonzero (at which time, the read(2) proceeds as
> described above) or fails with the error EAGAIN if the file
> descriptor has been made nonblocking."
>
> So this is the expected behaviour.
>
> Thanks!
Actually, I think I got it now. Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.