MCPcopy Create free account
hub / github.com/devkitPro/libctru / RecursiveLock_Unlock

Function RecursiveLock_Unlock

libctru/source/synchronization.c:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void RecursiveLock_Unlock(RecursiveLock* lock)
149{
150 if (!--lock->counter)
151 {
152 lock->thread_tag = 0;
153 LightLock_Unlock(&lock->lock);
154 }
155}
156
157static inline void CondVar_BeginWait(CondVar* cv, LightLock* lock)
158{

Callers 1

Calls 1

LightLock_UnlockFunction · 0.85

Tested by

no test coverage detected