This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/21291] pthread cancellation fails when contending lock
- From: "dimitri.staessens at ugent dot be" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 09 Jun 2017 03:15:02 +0000
- Subject: [Bug nptl/21291] pthread cancellation fails when contending lock
- Auto-submitted: auto-generated
- References: <bug-21291-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21291
--- Comment #10 from Dimitri Staessens <dimitri.staessens at ugent dot be> ---
Also, just to clarify further:
The pthread_cond_timedwait() function shall be equivalent to
pthread_cond_wait(), except that an error is returned if the absolute time
specified by abstime passes (that is, system time equals or exceeds abstime)
before the condition cond is signaled or broadcasted, or if the absolute time
specified by abstime has already been passed at the time of the call.
So, an expired abstime is not an invalid argument. Invalid abstimes would be
where, for instance the tv_nsec is larger than 10^9.
--
You are receiving this mail because:
You are on the CC list for the bug.