can be called on main or worker threads blocking ignored unless called on main thread
| 169 | // can be called on main or worker threads |
| 170 | // blocking ignored unless called on main thread |
| 171 | static void shutdown(bool blocking = false) { |
| 172 | auto& executorHandle = threadLocalExecutorHandle(); |
| 173 | |
| 174 | if (executorHandle.ptr != nullptr) { |
| 175 | executorHandle.ptr->stopWorkerThreads(blocking); |
| 176 | executorHandle.dispose(); |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | static void sync_stolen_task(HighsSplitDeque* localDeque, |
| 181 | HighsTask* stolenTask) { |
nothing calls this directly
no test coverage detected