This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/21291] pthread cancellation fails when contending lock


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]