MCPcopy Index your code
hub / github.com/assaultcube/AC / wait

Method wait

source/src/tools.cpp:737–740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735}
736
737void sl_semaphore::wait()
738{
739 if(SDL_SemWait((SDL_sem *) data) != 0) (*errorcount)++;
740}
741
742int sl_semaphore::trywait()
743{

Callers 15

sl_detachthreadFunction · 0.80
logworkerthreadFunction · 0.80
tlogFunction · 0.80
xlogFunction · 0.80
updateservermapFunction · 0.80
readmapsthreadFunction · 0.80
readserverconfigsthreadFunction · 0.80
checkMethod · 0.80
deferredprocessingthreadFunction · 0.80
processFunction · 0.80
addsleepFunction · 0.80
resetsleepFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected