| Function report | 
| Source Code: kernel\locking\mutex.c | Create Date:2022-07-28 09:47:16 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Add @waiter to a given location in the lock wait_list and set the* FLAG_WAITERS flag if it's the first waiter.
Proto:static void __sched __mutex_add_waiter(struct mutex *lock, struct mutex_waiter *waiter, struct list_head *list)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mutex * | lock | |
| struct mutex_waiter * | waiter | |
| struct list_head * | list | 
| Name | Describe | 
|---|---|
| __ww_mutex_add_waiter | Add @waiter to the wait-list, keep the wait-list ordered by stamp, smallest* first | 
| __mutex_lock_common | Lock a mutex (possibly interruptible), slowpath: | 
| 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 |