函数逻辑报告 |
Source Code:ipc\msg.c |
Create Date:2022-07-27 18:16:33 |
| Last Modify:2020-03-17 22:56:56 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ss_wakeup
函数原型:static void ss_wakeup(struct msg_queue *msq, struct wake_q_head *wake_q, bool kill)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct msg_queue * | msq | |
| struct wake_q_head * | wake_q | |
| bool | kill |
| 201 | struct task_struct * stop_tsk = NULL |
| 222 | 否则如果非msg_fits_inqueue(msq, msgsz)则 |
| 名称 | 描述 |
|---|---|
| freeque | que() wakes up waiters on the sender and receiver waiting queue,* removes the message queue from message queue ID IDR, and cleans up all the* messages associated with this queue.* msg_ids.rwsem (writer) and the spinlock for this message queue are held |
| msgctl_down | This function handles some msgctl commands which require the rwsem* to be held in write mode.* NOTE: no locks must be held, the rwsem is taken inside this function. |
| do_msgrcv |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |