mirror of
https://github.com/devkitPro/wut.git
synced 2026-03-25 19:34:59 -05:00
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
42 lines
475 B
C
42 lines
475 B
C
#pragma once
|
|
#include <wut.h>
|
|
|
|
/**
|
|
* \defgroup coreinit_scheduler Scheduler
|
|
* \ingroup coreinit
|
|
* @{
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern void *__OSSchedulerLock;
|
|
|
|
void
|
|
__OSEnableScheduler();
|
|
|
|
void
|
|
__OSDisableScheduler();
|
|
|
|
void
|
|
__OSLockScheduler(void *lockId);
|
|
|
|
void
|
|
__OSUnlockScheduler(void *lockId);
|
|
|
|
BOOL
|
|
OSIsSchedulerLocked(void *lockId);
|
|
|
|
void
|
|
__OSTryLockScheduler(void *lockId);
|
|
|
|
void
|
|
__OSTouchSchedulerLock();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|