diff options
Diffstat (limited to 'include/nitro/OS_mutex_shared.h')
-rw-r--r-- | include/nitro/OS_mutex_shared.h | 14 |
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 |