Function report |
Source Code:kernel\locking\rtmutex-debug.c |
Create Date:2022-07-28 09:52:48 |
| Last Modify:2020-03-17 14:29:42 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We fill out the fields in the waiter to store the information about* the deadlock. We print when we return. act_waiter can be NULL in* case of a remove waiter operation.
Proto:void debug_rt_mutex_deadlock(enum rtmutex_chainwalk chwalk, struct rt_mutex_waiter *act_waiter, struct rt_mutex *lock)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| enum rtmutex_chainwalk | chwalk | |
| struct rt_mutex_waiter * | act_waiter | |
| struct rt_mutex * | lock |
| 80 | task = rt_mutex_owner(lock) |
| 81 | If task && task != current process Then |
| 82 | deadlock_task_pid = get_pid(task_pid(task)) |
| 83 | deadlock_lock = lock |
| Name | Describe |
|---|---|
| rt_mutex_adjust_prio_chain | Adjust the priority chain |
| 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 |