mirror of
https://github.com/pret/pokediamond.git
synced 2026-04-20 20:07:31 -05:00
27 lines
496 B
C
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
|