MCPcopy Create free account
hub / github.com/diasurgical/devilution / SetEvent

Function SetEvent

SourceX/thread.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void SetEvent(event_emul *e)
52{
53 if (SDL_LockMutex(e->mutex) <= -1 || SDL_CondSignal(e->cond) <= -1 || SDL_UnlockMutex(e->mutex) <= -1) {
54 ErrSdl();
55 }
56}
57
58void ResetEvent(event_emul *e)
59{

Callers 5

dthread_send_deltaFunction · 0.85
dthread_cleanupFunction · 0.85
signal_allMethod · 0.85
unlock_and_signal_oneMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected