diff options
author | Egor Ananyin <ananinegor@gmail.com> | 2020-06-20 09:14:40 +0300 |
---|---|---|
committer | Egor Ananyin <ananinegor@gmail.com> | 2020-06-20 09:14:40 +0300 |
commit | 70556fc300ba85dad248d20b3c79c415e2ef88e5 (patch) | |
tree | 900bcd9bfbc5101d4d8f01ce057429658909e273 /arm7/lib/src | |
parent | c4263506fa96acc210d1cf356023a3ffde805a0b (diff) |
Begin decompiling OS_mutex
Diffstat (limited to 'arm7/lib/src')
-rw-r--r-- | arm7/lib/src/OS_mutex.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arm7/lib/src/OS_mutex.c b/arm7/lib/src/OS_mutex.c new file mode 100644 index 00000000..8fe167f3 --- /dev/null +++ b/arm7/lib/src/OS_mutex.c @@ -0,0 +1,8 @@ +#include "function_target.h" +#include "OS_mutex.h" + +ARM_FUNC void OS_InitMutex(OSMutex* mutex) { + OS_InitThreadQueue(&mutex->queue); + mutex->thread = NULL; + mutex->count = 0; +} |