Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rtmutex.c Create Date:2022-07-28 09:52:19
Last Modify:2020-03-17 14:26:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rt_mutex_handle_deadlock

Proto:static void rt_mutex_handle_deadlock(int res, int detect_deadlock, struct rt_mutex_waiter *w)

Type:void

Parameter:

TypeParameterName
intres
intdetect_deadlock
struct rt_mutex_waiter *w
1213  If res != -EDEADLOCK || detect_deadlock Then Return
1219  rt_mutex_print_deadlock(w)
1220  When 1 cycle
1221  set_current_state(TASK_INTERRUPTIBLE)
1222  schedule()
Caller
NameDescribe
rt_mutex_slowlockSlow path lock function: