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: "tixxdz at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 10 Apr 2014 14:41:53 +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
Djalal Harouni <tixxdz at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tixxdz at gmail dot com
--- Comment #3 from Djalal Harouni <tixxdz at gmail dot com> ---
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!
--
You are receiving this mail because:
You are on the CC list for the bug.