diff options
author | Cleverking2003 <30466983+Cleverking2003@users.noreply.github.com> | 2020-06-19 22:27:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 22:27:30 +0300 |
commit | 53ac396de4098e38a6916e0cc86cbd278a960c4c (patch) | |
tree | dd12868357a74ca72794fc23a1dc90beaba4cf5e /include/nitro/OS_mutex_shared.h | |
parent | 41317a2b7625919ebba39c06b5aaf9e3b0800b1d (diff) | |
parent | 12c17948602bf14535c91c530f214b99863e038e (diff) |
Merge branch 'master' into master
Diffstat (limited to 'include/nitro/OS_mutex_shared.h')
-rw-r--r-- | include/nitro/OS_mutex_shared.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/nitro/OS_mutex_shared.h b/include/nitro/OS_mutex_shared.h new file mode 100644 index 00000000..e3c93e47 --- /dev/null +++ b/include/nitro/OS_mutex_shared.h @@ -0,0 +1,26 @@ +/* + * NOTE: + * This file is shared between ARM9 and ARM7 + * DO NOT PUT PROC SPECIFIC CODE IN HERE + * Thank You! + */ + +/* + * DO NOT INCLUDE THIS FILE DIRECTLY + * Include OS_mutex.h from the specific proc's lib + */ + +#ifndef POKEDIAMOND_OS_MUTEX_SHARED_H +#define POKEDIAMOND_OS_MUTEX_SHARED_H + +#include "nitro/OS_thread_shared.h" +#include "nitro/types.h" + +struct OSMutex { + OSThreadQueue queue; + OSThread *thread; + s32 count; + OSMutexLink link; +}; + +#endif //POKEDIAMOND_OS_MUTEX_SHARED_H |