lkml.org 
[lkml]   [2006]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Robust mutexes (-rt)
Thomas,
here is a patch that fixes the -EINTR problem and a fix for Dinakar's
simple futex deadlock test program. When Esben's new deadlock detection
is ready I plan to use it for robust futex deadlock detection, both simple and
circular deadlock detection.


http://source.mvista.com:~dsingleton/patch-2.6.15-rt16-rf1

include/linux/futex.h | 3 +++
kernel/futex.c | 3 +++
kernel/rt.c | 19 ++++++++++++++++++-
3 files changed, 24 insertions(+), 1 deletion(-)

David

> Just another problem:
>
> pthread_mutex_lock() of a robust mutex returns -EINTR, which is wrong by
> the specification. We encountered this in an application. Not sure what
> to do about that. It needs either a fix in glibc or the kernel could
> handle it via a restart function. That happens when a signal is
> delivered to the thread while the thread is blocked on the mutex.
>
> tglx
>
>
>
>
>
-
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: 2006-02-03 04:21    [W:0.229 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site