Is it possible to have a robust futex outside of a mutex?

Previous thread: Re: [PATCH 1/3] signal(i386): alternative signal stack wraparound occurs by Mikael Pettersson on Thursday, October 4, 2007 - 6:08 am. (2 messages)

Next thread: [PATCH] RCU trace fix possible mem-leak by Steven Rostedt on Thursday, October 4, 2007 - 8:16 am. (1 message)
From: Gilles Carry
Date: Thursday, October 4, 2007 - 7:14 am

Hi,

Is there is any way to use a robust futex without an associated mutex?
In the kernel, exit_robust_list only handles futexes associated with a mutex (through futex_offset).
Implementation of pthread_cond_xxx (broadcast, wait, ...) functions uses several futexes (lll_lock) in glibc which cannot be handled as robust.
However a thread locking one of these internal futexes can be killed while there are other waiters.
Am I right?

Thanks.
G+
-

Previous thread: Re: [PATCH 1/3] signal(i386): alternative signal stack wraparound occurs by Mikael Pettersson on Thursday, October 4, 2007 - 6:08 am. (2 messages)

Next thread: [PATCH] RCU trace fix possible mem-leak by Steven Rostedt on Thursday, October 4, 2007 - 8:16 am. (1 message)