MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / queueWork

Method queueWork

source/core/StarWorkerPool.cpp:160–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void WorkerPool::queueWork(function<void()> work) {
161 MutexLocker workLock(m_workMutex);
162 m_pendingWork.append(std::move(work));
163 m_workCondition.signal();
164}
165
166}

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
signalMethod · 0.45

Tested by

no test coverage detected