函数逻辑报告 |
Source Code:kernel\sched\wait.c |
Create Date:2022-07-27 10:41:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Note! These two wait functions are entered with the* case), so there is no race with testing the wakeup* condition in the caller before they add the wait* entry to the wake queue.
函数原型:int do_wait_intr(wait_queue_head_t *wq, wait_queue_entry_t *wait)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
wait_queue_head_t * | wq | |
wait_queue_entry_t * | wait | queue lock held (and interrupts off in the _irq |
320 | 如果此条件成立可能性大(为编译器优化)(链表为空)则__add_wait_queue_entry_tail(wq, queue lock held (and interrupts off in the _irq) |
323 | set_current_state(睡眠态) |
327 | 自旋锁解锁 |
328 | 进程调度 |
329 | 加自旋锁 |
331 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |