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

Function RecursiveLock_Init

libctru/source/synchronization.c:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void RecursiveLock_Init(RecursiveLock* lock)
118{
119 LightLock_Init(&lock->lock);
120 lock->thread_tag = 0;
121 lock->counter = 0;
122}
123
124void RecursiveLock_Lock(RecursiveLock* lock)
125{

Callers 1

Calls 1

LightLock_InitFunction · 0.85

Tested by

no test coverage detected