函数逻辑报告 |
Source Code:kernel\locking\rtmutex.c |
Create Date:2022-07-27 10:52:29 |
Last Modify:2020-03-17 14:26:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Remove the top waiter from the current tasks pi waiter tree and* queue it up.* Called with lock->wait_lock held and interrupts disabled.
函数原型:static void mark_wakeup_next_waiter(struct wake_q_head *wake_q, struct rt_mutex *lock)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct wake_q_head * | wake_q | |
struct rt_mutex * | lock |
1022 | raw_spin_lock( & pi_lock) |
1024 | waiter等于rt_mutex_top_waiter(lock) |
1033 | rt_mutex_dequeue_pi(当前进程, waiter) |
1034 | rt_mutex_adjust_prio(当前进程) |
1056 | 禁止抢占() |
1058 | raw_spin_unlock( & pi_lock) |
名称 | 描述 |
---|---|
rt_mutex_slowunlock | Slow path to release a rt-mutex.* Return whether the current task needs to call rt_mutex_postunlock(). |
__rt_mutex_futex_unlock | Futex variant, that since futex variants do not use the fast-path, can be* simple and will not need to retry. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |