| 1063 | return *the_instance; |
| 1064 | } |
| 1065 | void GlobalThreadPool::shutdown() |
| 1066 | { |
| 1067 | if (the_instance) |
| 1068 | { |
| 1069 | the_instance->finalize(); |
| 1070 | } |
| 1071 | } |
| 1072 | |
| 1073 | void startThreadFromGlobalPool( |
| 1074 | std::shared_ptr<ThreadFromGlobalPoolState> state, |