| Function report | 
| Source Code: kernel\futex.c | Create Date:2022-07-28 10:53:40 | 
| Last Modify:2020-03-17 15:28:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:wait_for_owner_exiting - Block until the owner has exited*@ret: owner's current futex lock status*@exiting: Pointer to the exiting task* Caller must hold a refcount on @exiting.
Proto:static void wait_for_owner_exiting(int ret, struct task_struct *exiting)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | ret | |
| struct task_struct * | exiting | 
| 1189 | WARN_ON_ONCE(exiting) | 
| 1190 | Return | 
| 1193 | If WARN_ON_ONCE(ret == - EBUSY && !exiting) Then Return | 
| 1196 | mutex_lock( & futex_exit_mutex) | 
| 1207 | put_task_struct(exiting) | 
| Name | Describe | 
|---|---|
| futex_requeue | ex_requeue() - Requeue waiters from uaddr1 to uaddr2*@uaddr1: source futex user address*@flags: futex flags (FLAGS_SHARED, etc | 
| futex_lock_pi | Userspace tried a 0 -> TID atomic transition of the futex value* and failed. The kernel side here does the whole locking operation:* if there are waiters then it will block as a consequence of relying* on rt-mutexes, it does PI, etc | 
| 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 |