aboutsummaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-19 10:30:45 -0700
committerChristian Cunningham <cc@localhost>2022-03-19 10:30:45 -0700
commitc1bd3aa131d89abc128e2e9ddc24fd80c86c203e (patch)
tree333825df979c1f5257a8298216fcec9815b8e72d /include/util
parent3c497aef7cfeba93e6e056b0e8ddbff38040383a (diff)
Fixed Deadlock Mechanism
Diffstat (limited to 'include/util')
-rw-r--r--include/util/mutex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/util/mutex.h b/include/util/mutex.h
index 8ab3235..a52e62e 100644
--- a/include/util/mutex.h
+++ b/include/util/mutex.h
@@ -24,7 +24,10 @@ struct MutexManager {
};
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);
+void unlock_mutex(struct Mutex* m);
#endif