diff options
Diffstat (limited to 'arm9/lib/include/OS_mutex.h')
-rw-r--r-- | arm9/lib/include/OS_mutex.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arm9/lib/include/OS_mutex.h b/arm9/lib/include/OS_mutex.h new file mode 100644 index 00000000..5db66fbe --- /dev/null +++ b/arm9/lib/include/OS_mutex.h @@ -0,0 +1,18 @@ +// +// Created by red031000 on 2020-05-17. +// + +#ifndef POKEDIAMOND_OS_MUTEX_H +#define POKEDIAMOND_OS_MUTEX_H + +#include "types.h" +#include "OS_thread.h" + +struct OSMutex { + OSThreadQueue queue; + OSThread *thread; + s32 count; + OSMutexLink link; +}; + +#endif //POKEDIAMOND_OS_MUTEX_H |