diff options
author | red031000 <rubenru09@aol.com> | 2020-07-27 01:11:45 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-07-27 01:11:45 +0100 |
commit | 7c2a848ecccb95d010d8c0836c5d9c6a96b39da0 (patch) | |
tree | d650d996f8fa9b741b1075d8b897d73c8e7034a7 /arm9/lib/include/OS_thread.h | |
parent | 23873ed88f9920db6ed463fa02157686264369bd (diff) |
some cleanups
Diffstat (limited to 'arm9/lib/include/OS_thread.h')
-rw-r--r-- | arm9/lib/include/OS_thread.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arm9/lib/include/OS_thread.h b/arm9/lib/include/OS_thread.h index 8afc0b78..e330e219 100644 --- a/arm9/lib/include/OS_thread.h +++ b/arm9/lib/include/OS_thread.h @@ -5,22 +5,12 @@ #include "OS_context.h" #include "nitro/OS_thread_shared.h" -static s32 OSi_GetUnusedThreadId(void); -static void OSi_InsertLinkToQueue(OSThreadQueue *queue, OSThread *thread); -static OSThread *OSi_RemoveLinkFromQueue(OSThreadQueue *queue); -static OSThread *OSi_RemoveSpecifiedLinkFromQueue(OSThreadQueue *queue, OSThread *thread); OSMutex *OSi_RemoveMutexLinkFromQueue(OSMutexQueue *queue); -static void OSi_InsertThreadToList(OSThread *thread); -static void OSi_RemoveThreadFromList(OSThread *thread); void OS_InitThread(void); BOOL OS_IsThreadAvailable(void); void OS_CreateThread(OSThread *thread, void (*func) (void *), void *arg, void *stack, u32 stackSize, u32 prio); void OS_ExitThread(void); -static void OSi_ExitThread_ArgSpecified(OSThread *thread, void *arg); -static void OSi_ExitThread(void *arg); -static void OSi_ExitThread_Destroy(void); void OS_DestroyThread(OSThread *thread); -static void OSi_CancelThreadAlarmForSleep(OSThread *thread); void OS_JoinThread(OSThread *thread); BOOL OS_IsThreadTerminated(const OSThread *thread); void OS_SleepThread(OSThreadQueue *queue); @@ -32,9 +22,7 @@ void OS_YieldThread(void); BOOL OS_SetThreadPriority(OSThread *thread, u32 prio); u32 OS_GetThreadPriority(const OSThread *thread); void OS_Sleep(u32 msec); -static void OSi_SleepAlarmCallback(void *arg); OSSwitchThreadCallback OS_SetSwitchThreadCallback(OSSwitchThreadCallback callback); -static void OSi_IdleThreadProc(void *); u32 OS_DisableScheduler(void); u32 OS_EnableScheduler(void); void OS_SetThreadDestructor(OSThread *thread, OSThreadDestructor dtor); |