pokediamond/include/nitro/OS_mutex_shared.h
2020-06-19 19:07:34 +01:00

27 lines
496 B
C

/*
* 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