diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-07-27 12:43:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-27 12:43:27 -0400 |
commit | d9ea992246a6d29133fc5accb03cfb8dcc4665f6 (patch) | |
tree | 3f83a35da657e9755da5b2afc4f8c7983d3ded6b /arm9/lib/include/OS_mutex.h | |
parent | bb6d2a9a3178b421ed5c6cb738e93257834d1f54 (diff) | |
parent | be7f72c950c6ce67b2c6416af90628a9d5ddc0da (diff) |
Merge pull request #246 from red031000/master
arm 7 shiftable + 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 |