diff options
author | red031000 <rubenru09@aol.com> | 2020-06-19 19:07:34 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-06-19 19:07:34 +0100 |
commit | e19270f9b3523dfe68b5010e7735fc7896e568d7 (patch) | |
tree | 64528f5801581517bf305d423192e8bfd525af32 /arm9/lib/include/OS_mutex.h | |
parent | 1c13e2f57b53b3e4e5f9daac42ec4baadbb4c60b (diff) |
arm7 OS_thread
Diffstat (limited to 'arm9/lib/include/OS_mutex.h')
-rw-r--r-- | arm9/lib/include/OS_mutex.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/arm9/lib/include/OS_mutex.h b/arm9/lib/include/OS_mutex.h index 0fc261a4..9da89c69 100644 --- a/arm9/lib/include/OS_mutex.h +++ b/arm9/lib/include/OS_mutex.h @@ -1,16 +1,10 @@ -#ifndef POKEDIAMOND_OS_MUTEX_H -#define POKEDIAMOND_OS_MUTEX_H +#ifndef POKEDIAMOND_ARM9_OS_MUTEX_H +#define POKEDIAMOND_ARM9_OS_MUTEX_H -#include "nitro/types.h" #include "OS_thread.h" - -struct OSMutex { - OSThreadQueue queue; - OSThread *thread; - s32 count; - OSMutexLink link; -}; +#include "OS_context.h" +#include "nitro/OS_mutex_shared.h" void OSi_UnlockAllMutex(OSThread * thread); -#endif //POKEDIAMOND_OS_MUTEX_H +#endif //POKEDIAMOND_ARM9_OS_MUTEX_H |