Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devkitPro/libctru
/ __SYSCALL(thread_self)
Function
__SYSCALL(thread_self)
libctru/source/system/syscalls.c:232–235 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
230
}
231
232
struct __pthread_t *__SYSCALL(thread_self)(void)
233
{
234
return (struct __pthread_t*)threadGetCurrent();
235
}
236
237
void initThreadVars(struct Thread_tag *thread)
238
{
Callers
nothing calls this directly
Calls
1
threadGetCurrent
Function · 0.85
Tested by
no test coverage detected