Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
117
void RecursiveLock_Init(RecursiveLock* lock)
118
{
119
LightLock_Init(&lock->lock);
120
lock->thread_tag = 0;
121
lock->counter = 0;
122
}
123
124
void RecursiveLock_Lock(RecursiveLock* lock)
125
{
Callers
1
__SYSCALL(lock_init_recursive)
Function · 0.85
Calls
1
LightLock_Init
Function · 0.85
Tested by
no test coverage detected