MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / WaitForTasks

Method WaitForTasks

src/engine/ThreadPool.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void ThreadPool::WaitForTasks()
87{
88 while(m_pendingTasks.load() != 0)
89 std::this_thread::yield();
90}
91
92void ThreadPool::StaticThreadProc(ThreadPool* self)
93{

Callers 2

LoadWithThreadPoolMethod · 0.80
LoadModelsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected