Messages in this thread | | | Date | Fri, 11 May 2007 08:16:57 -0400 | From | Steven Rostedt <> | Subject | Re: Hi, I have one question about rt_mutex. |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |