diff options
author | Christian Cunningham <cc@localhost> | 2022-03-12 16:39:39 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-12 16:39:39 -0800 |
commit | a29f40e073a0308bd74f0f9803a4660aa233c3ab (patch) | |
tree | e607ee7eed39da0e1dcf65c4eb76dd1426899f85 /include/globals.h | |
parent | b62c324bde267a5a940b1d06f44f62a125aef50d (diff) |
"Dynamic" Mutex Allocation
Diffstat (limited to 'include/globals.h')
-rw-r--r-- | include/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/globals.h b/include/globals.h index 7bda83c..249ffe7 100644 --- a/include/globals.h +++ b/include/globals.h @@ -1,6 +1,7 @@ #ifndef GLOBALS_H #define GLOBALS_H #include <sys/schedule.h> +#include <util/mutex.h> #ifndef GLOBALS_C extern unsigned long irqlr; @@ -16,6 +17,8 @@ extern struct Thread usrloopthread; extern unsigned int gwidth, gheight, gpitch, gisrgb; extern unsigned char thread_table[MAX_THREADS]; extern struct Thread threads[MAX_THREADS]; +extern unsigned long mutex_table[MAX_MUTEXS]; +extern struct Mutex mutexs[MAX_MUTEXS]; #endif #endif |