mirror of
https://github.com/zeldaret/oot.git
synced 2025-02-28 03:50:07 +00:00
10 lines
224 B
C
10 lines
224 B
C
#include <global.h>
|
|
|
|
void osYieldThread() {
|
|
register u32 prevInt;
|
|
|
|
prevInt = __osDisableInt();
|
|
__osRunningThread->state = OS_STATE_RUNNABLE;
|
|
__osEnqueueAndYield(&__osRunQueue);
|
|
__osRestoreInt(prevInt);
|
|
}
|