aboutsummaryrefslogtreecommitdiff
path: root/include/util/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/util/mutex.h')
-rw-r--r--include/util/mutex.h4
1 files changed, 2 insertions, 2 deletions
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