函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\futex.c Create Date:2022-07-27 11:55:11
Last Modify:2020-03-17 15:28:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ex_exit_recursive - Set the tasks futex state to FUTEX_STATE_DEAD*@tsk: task to set the state on* Set the futex exit state of the task lockless. The futex waiter code* observes that state when a task is exiting and loops until the task has

函数原型:void futex_exit_recursive(struct task_struct *tsk)

返回类型:void

参数:

类型参数名称
struct task_struct *tsk
3781  如果futex_state恒等于FUTEX_STATE_EXITINGmutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
3783  futex_state等于FUTEX_STATE_DEAD