diff options
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; +} |