mirror of
https://github.com/zeldaret/oot
synced 2026-07-10 15:04:07 -04:00
10 lines
154 B
C
10 lines
154 B
C
#include <global.h>
|
|
|
|
OSId osGetThreadId(OSThread* thread) {
|
|
if (thread == NULL) {
|
|
thread = __osRunningThread;
|
|
}
|
|
|
|
return thread->id;
|
|
}
|