Files
oot/src/libultra_boot_O1/osGetThreadId.c
T
2020-03-22 22:20:03 +01:00

10 lines
154 B
C

#include <global.h>
OSId osGetThreadId(OSThread* thread) {
if (thread == NULL) {
thread = __osRunningThread;
}
return thread->id;
}