| Function report | 
| Source Code: ipc\mqueue.c | Create Date:2022-07-28 16:50:11 | 
| Last Modify:2020-03-17 23:00:47 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Auxiliary functions to manipulate messages' list
Proto:static int msg_insert(struct msg_msg *msg, struct mqueue_inode_info *info)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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 | If Value is more likely to compile time(priority == m_type) Then Go to insert_msg | 
| 150 | If node_cache Then | 
| 151 | leaf = node_cache | 
| 152 | node_cache = NULL | 
| 153 | Else | 
| 161 | If rightmost Then msg_tree_rightmost = rb_node | 
| 164 | rb_link_node( & rb_node, parent, p) | 
| 165 | rb_insert_color( & rb_node, & msg_tree) | 
| 166 | insert_msg : | 
| 170 | Return 0 | 
| Name | Describe | 
|---|---|
| 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 | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |