| 309 | namespace { |
| 310 | |
| 311 | struct thr_init { |
| 312 | thr_init(const dbcontext_ptr& dc, volatile int& shutdown_flag) : dbctx(dc) { |
| 313 | dbctx->init_thread(this, shutdown_flag); |
| 314 | } |
| 315 | ~thr_init() { |
| 316 | dbctx->term_thread(); |
| 317 | } |
| 318 | const dbcontext_ptr& dbctx; |
| 319 | }; |
| 320 | |
| 321 | }; // namespace |
| 322 |
nothing calls this directly
no outgoing calls
no test coverage detected