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

Function check_all_connections

lib_acl_cpp/samples/http_request_manager/main.cpp:140–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static void check_all_connections(void)
141{
142 std::vector<connect_pool*>& pools = __conn_manager->get_pools();
143 std::vector<connect_pool*>::const_iterator cit = pools.begin();
144 for (; cit != pools.end(); ++cit) {
145 printf(">>>addr: %s %s\r\n", (*cit)->get_addr(),
146 (*cit)->aliving() ? "alive" : "dead");
147 }
148}
149
150// �̴߳�������
151static void thread_main(void*)

Callers 1

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…