函数逻辑报告 |
Source Code:ipc\mqueue.c |
Create Date:2022-07-27 18:25:26 |
Last Modify:2020-03-17 23:00:47 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Auxiliary functions to manipulate messages' list
函数原型:static int msg_insert(struct msg_msg *msg, struct mqueue_inode_info *info)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct msg_msg * | msg | |
struct mqueue_inode_info * | info |
135 | bool rightmost = true |
140 | leaf等于rb_entry(parent, structposix_msg_tree_node, rb_node) |
142 | 如果此条件成立可能性大(为编译器优化)(priority == m_type)则转到:insert_msg |
150 | 如果node_cache则 |
151 | leaf等于node_cache |
152 | node_cache = NULL |
153 | 否则 |
161 | 如果rightmost则msg_tree_rightmost等于rb_node |
164 | rb_link_node( & rb_node, parent, p) |
165 | rb_insert_color( & rb_node, & msg_tree) |
166 | insert_msg : |
169 | 添加链表项 |
170 | 返回:0 |
名称 | 描述 |
---|---|
pipelined_receive | pipelined_receive() - if there is task waiting in sys_mq_timedsend()* gets its message and put to the queue (we have one free place for sure). |
do_mq_timedsend |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |