Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\futex.c Create Date:2022-07-28 10:55:03
Last Modify:2020-03-17 15:28:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void futex_exit_recursive(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
3781  If futex_state == FUTEX_STATE_EXITING Then mutex_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