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

From: Gilles Carry
Date: Thu Oct 04 2007 - 10:15:00 EST


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+
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/