lkml.org 
[lkml]   [2007]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectIs it possible to have a robust futex outside of a mutex?
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-10-04 16:17    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site