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:Safe fastpath aware unlock:* 1) Clear the waiters bit* 2) Drop lock->wait_lock* 3) Try to unlock the lock with cmpxchg
Proto:static inline bool unlock_rt_mutex_safe(struct rt_mutex *lock, unsigned long flags)__releases(lock->wait_lock)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct rt_mutex * | lock | |
unsigned long | flags |
173 | owner = rt_mutex_owner(lock) |
176 | raw_spin_unlock_irqrestore( & wait_lock, flags) |
201 | Return rt_mutex_cmpxchg_release(lock, owner, NULL) |
Name | Describe |
---|---|
rt_mutex_slowunlock | Slow path to release a rt-mutex.* Return whether the current task needs to call rt_mutex_postunlock(). |
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 |