Re: [PATCH] Documentation: locking: update libc support status of PI futexes
From: Sebastian Andrzej Siewior
Date: Tue Jan 07 2025 - 10:32:56 EST
On 2024-12-28 10:15:46 [-0800], alison@xxxxxxxxxxxxx wrote:
> From: Alison Chaiken <alison@xxxxxxxxxxxxx>
>
> Update the text of futex-requeue-pi.rst to explain that, because of a
> conflict between POSIX requirements and ABI constraints, glibc does
> not support requeueing of PI futexes. Add some information about
> librtpi, a library which provides an implementation of condition
> variables which supports priority inheritance.
Are you sure? My memory is that glibc avoided using the internal mutex.
The old problem should be gone and pthread_cond_signal() and
pthread_cond_wait() should work.
> Signed-off-by: Alison Chaiken <alison@xxxxxxxxxxxxx>
Sebastian