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

Function probe_run

lib_protocol/samples/http_probe/probe_run.cpp:250–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250void probe_run()
251{
252 const char *myname = "run_init";
253 PROBE_SERVER *server;
254 ACL_AIO *aio;
255 ACL_ITER iter;
256
257 aio = acl_aio_create(ACL_EVENT_SELECT);
258
259 if (var_probe_server_link == NULL)
260 acl_msg_fatal("%s(%d): var_probe_server_link null",
261 myname, __LINE__);
262
263 acl_foreach(iter, var_probe_server_link) {
264 server = (PROBE_SERVER*) iter.data;
265 server->aio = aio;
266 timer_retry(server);
267 }
268
269 while (1)
270 acl_aio_loop(aio);
271}

Callers 1

mainFunction · 0.85

Calls 3

acl_aio_createFunction · 0.85
acl_msg_fatalFunction · 0.85
acl_aio_loopFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…