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

Method join

common/tasking/taskschedulerinternal.cpp:288–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 }
287
288 void TaskScheduler::join()
289 {
290 mutex.lock();
291 size_t threadIndex = allocThreadIndex();
292 condition.wait(mutex, [&] () { return hasRootTask.load(); });
293 mutex.unlock();
294 thread_loop(threadIndex);
295 }
296
297 void TaskScheduler::reset() {
298 hasRootTask = false;

Callers 13

commit_internalMethod · 0.80
fix_cmake_pathsFunction · 0.80
runConfigFunction · 0.80
runFunction · 0.80
_print_PowMethod · 0.80
make_reference.pyFile · 0.80
DecodeTiledLevelFunction · 0.80
DecodeChunkFunction · 0.80
EncodeTiledLevelFunction · 0.80

Calls 4

lockMethod · 0.45
waitMethod · 0.45
loadMethod · 0.45
unlockMethod · 0.45

Tested by 3

fix_cmake_pathsFunction · 0.64
runConfigFunction · 0.64
runFunction · 0.64