函数逻辑报告 |
Source Code:kernel\exit.c |
Create Date:2022-07-27 10:03:20 |
| Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_wait
函数原型:static long do_wait(struct wait_opts *wo)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct wait_opts * | wo |
| 1428 | add_wait_queue( & wait_chldexit, & child_wait) |
| 1429 | repeat : |
| 1436 | notask_error等于负ECHILD |
| 1441 | set_current_state(睡眠态) |
| 1442 | read_lock( & tasklist_lock) |
| 1444 | 循环 |
| 1449 | retval等于ptrace_do_wait(wo, tsk) |
| 1456 | read_unlock( & tasklist_lock) |
| 1458 | notask : |
| 1459 | retval等于notask_error |
| 1462 | 如果非signal_pending(当前进程)则 |
| 1467 | end : |
| 1469 | remove_wait_queue( & wait_chldexit, & child_wait) |
| 1470 | 返回:retval |
| 名称 | 描述 |
|---|---|
| kernel_waitid | |
| kernel_wait4 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |