| 316 | } |
| 317 | |
| 318 | dll_export void TaskScheduler::wait() |
| 319 | { |
| 320 | Thread* thread = TaskScheduler::thread(); |
| 321 | if (thread == nullptr) |
| 322 | return; |
| 323 | while (thread->tasks.execute_local_internal(*thread,thread->task)) {}; |
| 324 | } |
| 325 | |
| 326 | void TaskScheduler::thread_loop(size_t threadIndex) |
| 327 | { |
no test coverage detected