MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / join

Method join

base/poco/Foundation/src/ThreadPool.cpp:150–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149
150void PooledThread::join()
151{
152 _mutex.lock();
153 Runnable* pTarget = _pTarget;
154 _mutex.unlock();
155 if (pTarget)
156 _targetCompleted.wait();
157}
158
159
160void PooledThread::activate()

Callers 1

joinAllMethod · 0.45

Calls 3

lockMethod · 0.45
unlockMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected