Function report |
Source Code:kernel\locking\rtmutex.c |
Create Date:2022-07-28 09:52:21 |
Last Modify:2020-03-17 14:26:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Slow path try-lock function:
Proto:static inline int rt_mutex_slowtrylock(struct rt_mutex *lock)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct rt_mutex * | lock |
1317 | If rt_mutex_owner(lock) Then Return 0 |
1324 | raw_spin_lock_irqsave( & wait_lock, flags) |
1326 | ret = __rt_mutex_slowtrylock(lock) |
1328 | raw_spin_unlock_irqrestore( & wait_lock, flags) |
1330 | Return ret |
Name | Describe |
---|---|
rt_mutex_futex_trylock | Futex variant, must not use fastpath. |
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 |