函数逻辑报告 |
Source Code:kernel\locking\mutex.c |
Create Date:2022-07-27 10:47:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Add @waiter to a given location in the lock wait_list and set the* FLAG_WAITERS flag if it's the first waiter.
函数原型:static void __sched __mutex_add_waiter(struct mutex *lock, struct mutex_waiter *waiter, struct list_head *list)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mutex * | lock | |
struct mutex_waiter * | waiter | |
struct list_head * | list |
211 | debug_mutex_add_waiter(lock, waiter, 当前进程) |
213 | 添加链表项 |
名称 | 描述 |
---|---|
__ww_mutex_add_waiter | Add @waiter to the wait-list, keep the wait-list ordered by stamp, smallest* first |
__mutex_lock_common | Lock a mutex (possibly interruptible), slowpath: |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |