MCPcopy Create free account
hub / github.com/acl-dev/acl / msg_clone

Function msg_clone

lib_acl/src/msg/acl_msgio.c:167–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165/* ������¡ij��Ϣ�Ĵ������󼯺� */
166
167static void msg_clone(MSG_ITEM *msg_from, MSG_ITEM *msg_to)
168{
169 MSG_CALL *call_from, *call_to;
170 ACL_RING_ITER iter;
171
172 acl_ring_foreach(iter, &msg_from->call_list) {
173 call_from = ACL_RING_TO_APPL(iter.ptr, MSG_CALL, entry);
174 call_to = msg_call_new(msg_to, call_from->notify_fn,
175 call_from->arg);
176 msg_add(msg_to, call_to);
177 }
178}
179
180/* ������¡��Ϣ���ϼ���Ϣ�������󼯺� */
181

Callers 1

msg_list_cloneFunction · 0.85

Calls 2

msg_call_newFunction · 0.85
msg_addFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…