| 35 | }; |
| 36 | |
| 37 | struct hstcpsvr : public hstcpsvr_i, private noncopyable { |
| 38 | hstcpsvr(const config& c); |
| 39 | ~hstcpsvr(); |
| 40 | virtual std::string start_listen(); |
| 41 | private: |
| 42 | hstcpsvr_shared_c cshared; |
| 43 | volatile hstcpsvr_shared_v vshared; |
| 44 | typedef thread<worker_throbj> worker_thread_type; |
| 45 | typedef auto_ptrcontainer< std::vector<worker_thread_type *> > threads_type; |
| 46 | threads_type threads; |
| 47 | std::vector<unsigned int> thread_num_conns_vec; |
| 48 | private: |
| 49 | void stop_workers(); |
| 50 | }; |
| 51 | |
| 52 | namespace { |
| 53 |
nothing calls this directly
no outgoing calls
no test coverage detected