函数逻辑报告 |
Source Code:kernel\locking\rtmutex.c |
Create Date:2022-07-27 10:52:12 |
Last Modify:2020-03-17 14:26:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Callers must hold the ->wait_lock -- which is the whole purpose as we force* all future threads that attempt to [Rmw] the lock to the slowpath. As such* relaxed semantics suffice.
函数原型:static inline void mark_rt_mutex_waiters(struct rt_mutex *lock)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rt_mutex * | lock |
157 | 循环 |
159 | 当cmpxchg_relaxed(p, owner, owner | lock->owner state tracking:)不等于owner循环 |
名称 | 描述 |
---|---|
try_to_take_rt_mutex | Try to take an rt-mutex* Must be called with lock->wait_lock held and interrupts disabled*@lock: The lock to be acquired |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |