MCPcopy Create free account
hub / github.com/cocos/cocos-engine / wait

Method wait

native/cocos/base/threading/Semaphore.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void Semaphore::wait() noexcept {
38 _semaphore.wait();
39}
40
41void Semaphore::signal(int count) noexcept {
42 _semaphore.signal(count);

Callers 12

networkThreadMethod · 0.45
networkThreadMethod · 0.45
closeMethod · 0.45
threadFuncMethod · 0.45
decodeToPcmMethod · 0.45
setThreadMethod · 0.45
waitForAllMethod · 0.45
kickAndWaitMethod · 0.45
readMessageMethod · 0.45
addThreadMethod · 0.45
ThreadTasksMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected