リビジョン | 720d2058631d8540045e07213cd89dbec6b12ea6 (tree) |
---|---|
日時 | 2014-02-18 14:39:32 |
作者 | Hiroaki Nakano <nakano.hiroaki@nttc...> |
コミッター | Hiroaki Nakano |
reverse commit.
@@ -191,9 +191,6 @@ public: | ||
191 | 191 | const static int SESSIONPOOL_ALERT_OFF_SIZE_DEFAULT = 8; |
192 | 192 | |
193 | 193 | static const int IO_SERVICE_THREADS_NUM = 1; |
194 | - | |
195 | - boost::thread *tg; | |
196 | - | |
197 | 194 | protected: |
198 | 195 | |
199 | 196 | struct parameter_data { |
@@ -254,7 +254,7 @@ void l7vsd::add_virtual_service(const virtualservice_element *in_vselement, e | ||
254 | 254 | try { |
255 | 255 | |
256 | 256 | // create thread and run |
257 | - (*vsptr).tg = vs_threads.create_thread(boost::bind(&virtual_service::run, vsptr)); | |
257 | + vs_threads.create_thread(boost::bind(&virtual_service::run, vsptr)); | |
258 | 258 | |
259 | 259 | } catch (...) { |
260 | 260 | std::stringstream buf; |
@@ -357,9 +357,6 @@ void l7vsd::del_virtual_service(const virtualservice_element *in_vselement, e | ||
357 | 357 | if (vslist.end() != vsitr) { |
358 | 358 | // vs stop |
359 | 359 | (*vsitr)->stop(); |
360 | - boost::thread *p = (*vsitr)->tg; | |
361 | - p->join(); | |
362 | - vs_threads.remove_thread(p); | |
363 | 360 | // vs finalize |
364 | 361 | (*vsitr)->finalize(err); |
365 | 362 |