函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rtmutex.c Create Date:2022-07-27 10:52:34
Last Modify:2020-03-17 14:26:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rt_mutex_handle_deadlock

函数原型:static void rt_mutex_handle_deadlock(int res, int detect_deadlock, struct rt_mutex_waiter *w)

返回类型:void

参数:

类型参数名称
intres
intdetect_deadlock
struct rt_mutex_waiter *w
1213  如果res不等于负EDEADLOCKdetect_deadlock则返回
1219  rt_mutex_print_deadlock(w)
1220  当1循环
1221  set_current_state(睡眠态)
1222  进程调度
调用者
名称描述
rt_mutex_slowlockSlow path lock function: