diff options
author | Revo <projectrevotpp@hotmail.com> | 2020-06-19 23:07:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 23:07:18 -0400 |
commit | 0c8b5417cee5ff73f9db4b691c7549e82fdc30bd (patch) | |
tree | fe0e454b0b267045c891a796040a3b83267724e8 /arm9/lib/include/OS_mutex.h | |
parent | b138e415a2c6b4e42a08e776cd482d91d50bbc2a (diff) | |
parent | 12c17948602bf14535c91c530f214b99863e038e (diff) |
Merge branch 'master' into pikalax_work
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 |