Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ WaitForIdle
Method
WaitForIdle
system/threading/thread_pool.cpp:198–203 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
196
}
197
198
void ThreadPool::WaitForIdle() {
199
assert(!m_exit);
200
while (AnyTaskPending()) {
201
ThisThread::Sleep(1);
202
}
203
}
204
205
} // namespace toft
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected