Re: Hi, I have one question about rt_mutex.
From: Steven Rostedt
Date: Fri May 11 2007 - 08:18:44 EST
Li Yu wrote:
>
> However, I found the sys_futex() do not use rt_mutex, so what's mean of the user futex you said?
> Even, I have not found any usage for rt_mutex in kernel code. Or, some beautiful story will happen in future?
>
Just need to look a little deeper :-)
sys_futex calls do_futex
do_futex with the option of FUTEX_LOCK_PI will call futex_lock_pi
futex_lock_pi calls rt_mutex_timed_lock or rt_mutex_trylock both of
which are part of the rtmutex.c code.
So it's there today :-)
-- Steve
-
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/