From 8b36a39774789cee66d84db9f0086af15cacc211 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 26 Aug 2022 22:31:52 -0700 Subject: No used mutex queue --- include/util/mutex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/util/mutex.h') diff --git a/include/util/mutex.h b/include/util/mutex.h index a52e62e..cef4c60 100644 --- a/include/util/mutex.h +++ b/include/util/mutex.h @@ -20,14 +20,14 @@ struct Mutex { struct MutexManager { struct Queue free; - struct Queue used; + unsigned long used_mutexes; }; void mutex_init(void); void uart_mutexes(void); struct Mutex* create_mutex(void* addr); unsigned char delete_mutex(struct Mutex* m); -void lock_mutex(struct Mutex* m); +unsigned char lock_mutex(struct Mutex* m); void unlock_mutex(struct Mutex* m); #endif -- cgit v1.2.1