Function report |
Source Code:kernel\locking\mutex.c |
Create Date:2022-07-28 09:47:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Actual trylock that will work on any unlocked state.
Proto:static inline bool __mutex_trylock(struct mutex *lock)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mutex * | lock |
| 152 | Return Not Trylock variant that retuns the owning task on failure. |
| Name | Describe |
|---|---|
| __mutex_lock_common | Lock a mutex (possibly interruptible), slowpath: |
| mutex_trylock | mutex_trylock - try to acquire the mutex, without waiting*@lock: the mutex to be acquired* Try to acquire the mutex atomically |
| 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 |