MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / Count

Method Count

Source/Sound/threaded_sound_wrapper.cpp:386–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386size_t ThreadedSoundMessageQueue::Count() {
387 size_t c = 0;
388 mutex.lock();
389 c = messages.size();
390 mutex.unlock();
391 return c;
392}
393
394static void ThreadedSoundLoop() {
395 bool running = true;

Callers 1

ThreadedSoundLoopFunction · 0.45

Calls 3

lockMethod · 0.45
sizeMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected