summaryrefslogtreecommitdiff
path: root/include/nitro/OS_mutex_shared.h
diff options
context:
space:
mode:
authorEgor Ananyin <ananinegor@gmail.com>2020-06-20 09:14:40 +0300
committerEgor Ananyin <ananinegor@gmail.com>2020-06-20 09:14:40 +0300
commit70556fc300ba85dad248d20b3c79c415e2ef88e5 (patch)
tree900bcd9bfbc5101d4d8f01ce057429658909e273 /include/nitro/OS_mutex_shared.h
parentc4263506fa96acc210d1cf356023a3ffde805a0b (diff)
Begin decompiling OS_mutex
Diffstat (limited to 'include/nitro/OS_mutex_shared.h')
-rw-r--r--include/nitro/OS_mutex_shared.h14
1 files changed, 14 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..bd181f55
--- /dev/null
+++ b/include/nitro/OS_mutex_shared.h
@@ -0,0 +1,14 @@
+#ifndef GUARD_OS_SHARED_MUTEX_H
+#define GUARD_OS_SHARED_MUTEX_H
+
+#include "nitro/types.h"
+#include "nitro/OS_thread_shared.h"
+
+struct OSMutex {
+ OSThreadQueue queue;
+ OSThread *thread;
+ s32 count;
+ OSMutexLink link;
+};
+
+#endif