This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH roland/lll-futex] Separate Linuxisms from lowlevellock.h, make a generic one
- From: Bernie Ogden <bernie dot ogden at linaro dot org>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>, Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- Date: Tue, 15 Jul 2014 08:38:52 +0100
- Subject: Re: [PATCH roland/lll-futex] Separate Linuxisms from lowlevellock.h, make a generic one
- Authentication-results: sourceware.org; auth=none
- References: <20140702231404 dot F04F32C3978 at topped-with-meat dot com> <4AA4F932-96E7-490D-B8F0-4D01F6DEB964 at linaro dot org> <20140709215406 dot 219352C39A9 at topped-with-meat dot com> <68A6867E-042C-46AF-BD83-47BA7CCBDB0B at linaro dot org>
> Perhaps there should be a test that we get EOWNERDEAD if a lock holder dies in an unclean way before the call to __pthread_mutex_trylock - I didn't see one and I guess that would be doable with a pair of threads. But that's getting further away from issues relating to this patch.
Actually there is already a test for EOWNERDEAD (tst-robust2 and
tst-robust5). Just not in the racy case.