blob: e3c93e472f1dd5477d9f2f871ddcbaaefa78ef18 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 | /*
 * 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
 |