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: Thu, 08 Jun 2017 13:30:53 +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 #5 from Dimitri Staessens <dimitri.staessens at ugent dot be> ---
Hi Torvald,
After re-reading the POSIX specification, I think this unspecified behaviour
you mention is only allowed if the application is already executing the
cancellation point.
I don't they allow for an implementation of pthread_cond_timedwait() to not act
on a cancellation request that is already pending.
cheers,
Dimitri
--
You are receiving this mail because:
You are on the CC list for the bug.