summaryrefslogtreecommitdiff
path: root/arm9/lib/include/OS_mutex.h
blob: 5db66fbe2c10d7ca1d6f52fbe45ad78ebb7f1b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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