diff options
author | red031000 <rubenru09@aol.com> | 2020-07-27 16:54:00 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-07-27 16:54:00 +0100 |
commit | be7f72c950c6ce67b2c6416af90628a9d5ddc0da (patch) | |
tree | 3f83a35da657e9755da5b2afc4f8c7983d3ded6b /arm9/lib/include/OS_mutex.h | |
parent | c26f0d2dcab4f9ead484b9da13ada6a39c8e932d (diff) |
arm9 OS_mutex
Diffstat (limited to 'arm9/lib/include/OS_mutex.h')
-rw-r--r-- | arm9/lib/include/OS_mutex.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arm9/lib/include/OS_mutex.h b/arm9/lib/include/OS_mutex.h index 9da89c69..23e4337e 100644 --- a/arm9/lib/include/OS_mutex.h +++ b/arm9/lib/include/OS_mutex.h @@ -4,7 +4,14 @@ #include "OS_thread.h" #include "OS_context.h" #include "nitro/OS_mutex_shared.h" +#include "nitro/types.h" +void OS_InitMutex(OSMutex *mutex); +void OS_LockMutex(OSMutex *mutex); +void OS_UnlockMutex(OSMutex *mutex); void OSi_UnlockAllMutex(OSThread * thread); +BOOL OS_TryLockMutex(OSMutex *mutex); +void OSi_EnqueueTail(OSThread *thread, OSMutex *mutex); +void OSi_DequeueItem(OSThread *thread, OSMutex *mutex); #endif //POKEDIAMOND_ARM9_OS_MUTEX_H |