| 49 | void join(TPControl* pCtrl); |
| 50 | |
| 51 | static ThreadPoolBase* new_thread_pool( |
| 52 | uint32_t capacity, uint64_t stack_size = DEFAULT_STACK_SIZE) |
| 53 | { |
| 54 | auto p = B::new_identity_pool(capacity); |
| 55 | auto pool = (ThreadPoolBase*) p; |
| 56 | pool->init(stack_size); |
| 57 | return pool; |
| 58 | } |
| 59 | |
| 60 | static void delete_thread_pool(ThreadPoolBase* p) |
| 61 | { |
nothing calls this directly
no test coverage detected