MCPcopy Create free account
hub / github.com/RenderKit/embree / wait

Method wait

common/tasking/taskschedulerinternal.cpp:318–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 3

createMethod · 0.45
thread_loopMethod · 0.45
joinMethod · 0.45

Calls 1

Tested by

no test coverage detected