This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/14484] sem_timedwait always return -1 with errno 110 (ETIMEDOUT).
- From: "tingw.liu at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 17 Aug 2012 06:25:45 +0000
- Subject: [Bug nptl/14484] sem_timedwait always return -1 with errno 110 (ETIMEDOUT).
- Auto-submitted: auto-generated
- References: <bug-14484-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14484
--- Comment #3 from tingweiliu <tingw.liu at gmail dot com> 2012-08-17 06:25:45 UTC ---
(In reply to comment #1)
> What output do you expect? Your test program is never posting the semaphore, so
> of course it's going to timeout. Actually when running it I get EINTR rather
> than ETIMEDOUT; I'm using a fairly old kernel so perhaps they fixed the kernel
> bug where timed semaphores error out with EINTR when receiving a signal instead
> of properly restarting the syscall.
The abstimeout is correct (not earlier than now), so it should not return errno
110 (ETIMEDOUT).
Thanks!
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.