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

Function LightLock_Init

libctru/source/synchronization.c:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void LightLock_Init(LightLock* lock)
31{
32 do
33 __ldrex(lock);
34 while (__strex(lock, 1));
35}
36
37void LightLock_Lock(LightLock* lock)
38{

Callers 6

RecursiveLock_InitFunction · 0.85
LightEvent_InitFunction · 0.85
ndspInitMasterFunction · 0.85
ndspInitFunction · 0.85
ndspiInitChnFunction · 0.85
__SYSCALL(lock_init)Function · 0.85

Calls 2

__ldrexFunction · 0.85
__strexFunction · 0.85

Tested by

no test coverage detected