From 70556fc300ba85dad248d20b3c79c415e2ef88e5 Mon Sep 17 00:00:00 2001 From: Egor Ananyin Date: Sat, 20 Jun 2020 09:14:40 +0300 Subject: Begin decompiling OS_mutex --- arm7/lib/src/OS_mutex.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 arm7/lib/src/OS_mutex.c (limited to 'arm7/lib/src') 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; +} -- cgit v1.2.3