Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
86
void ThreadPool::WaitForTasks()
87
{
88
while(m_pendingTasks.load() != 0)
89
std::this_thread::yield();
90
}
91
92
void ThreadPool::StaticThreadProc(ThreadPool* self)
93
{
Callers
2
LoadWithThreadPool
Method · 0.80
LoadModels
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected