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

Function msg_append

lib_acl/src/msg/acl_msgio.c:149–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147/* ����Ϣ�������󼯺��������µĴ������� */
148
149static void msg_append(MSG_ITEM *msg, ACL_MSGIO_NOTIFY_FN notify_fn, void *arg)
150{
151 ACL_RING_ITER iter;
152 MSG_CALL *call;
153
154 acl_ring_foreach(iter, &msg->call_list) {
155 call = ACL_RING_TO_APPL(iter.ptr, MSG_CALL, entry);
156 if (call->notify_fn == notify_fn) {
157 return;
158 }
159 }
160
161 call = msg_call_new(msg, notify_fn, arg);
162 acl_ring_append(&msg->call_list, &call->entry);
163}
164
165/* ������¡ij��Ϣ�Ĵ������󼯺� */
166

Callers 1

msgio_regFunction · 0.85

Calls 2

msg_call_newFunction · 0.85
acl_ring_appendFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…