blob: 0fc261a4c6c2f443e7329db7589bb16a54a2813d (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 | #ifndef POKEDIAMOND_OS_MUTEX_H
#define POKEDIAMOND_OS_MUTEX_H
#include "nitro/types.h"
#include "OS_thread.h"
struct OSMutex {
    OSThreadQueue queue;
    OSThread *thread;
    s32 count;
    OSMutexLink link;
};
void OSi_UnlockAllMutex(OSThread * thread);
#endif //POKEDIAMOND_OS_MUTEX_H
 |