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

Function check_all_connections

lib_acl_cpp/samples/connect_manager/main.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22static void check_all_connections(void)
23{
24 std::vector<acl::connect_pool*>& pools = __conn_manager->get_pools();
25 std::vector<acl::connect_pool*>::const_iterator cit = pools.begin();
26 for (; cit != pools.end(); ++cit)
27 printf(">>>addr: %s %s\r\n", (*cit)->get_addr(),
28 (*cit)->aliving() ? "alive" : "dead");
29}
30
31// ��ʼ������
32static void init(const char* addrs, int max, int min, int ttl,

Callers 2

endFunction · 0.70
thread_mainFunction · 0.70

Calls 4

beginMethod · 0.80
endMethod · 0.45
get_addrMethod · 0.45
alivingMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…