lkml.org 
[lkml]   [2007]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2007-05-11 14:21    [W:0.054 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site