| 115 | serv& srv; |
| 116 | |
| 117 | thread_container ( |
| 118 | serv& srv_ |
| 119 | ) : srv(srv_) |
| 120 | { |
| 121 | for (int i = 0; i < num_test_connections; ++i) |
| 122 | register_thread(*this, &thread_container::thread_proc); |
| 123 | |
| 124 | // start up the threads |
| 125 | start(); |
| 126 | } |
| 127 | |
| 128 | ~thread_container () |
| 129 | { |