| 138 | } |
| 139 | |
| 140 | static 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 | // �̴߳������� |
| 151 | static void thread_main(void*) |
no test coverage detected
searching dependent graphs…