Function report |
Source Code:kernel\locking\rtmutex.c |
Create Date:2022-07-28 09:51:57 |
Last Modify:2020-03-17 14:26:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Callers must hold the ->wait_lock -- which is the whole purpose as we force* all future threads that attempt to [Rmw] the lock to the slowpath. As such* relaxed semantics suffice.
Proto:static inline void mark_rt_mutex_waiters(struct rt_mutex *lock)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rt_mutex * | lock |
157 | Do |
159 | When cmpxchg_relaxed(p, owner, owner | lock->owner state tracking:) != owner cycle |
Name | Describe |
---|---|
try_to_take_rt_mutex | Try to take an rt-mutex* Must be called with lock->wait_lock held and interrupts disabled*@lock: The lock to be acquired |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |