From a29f40e073a0308bd74f0f9803a4660aa233c3ab Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sat, 12 Mar 2022 16:39:39 -0800 Subject: "Dynamic" Mutex Allocation --- include/globals.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/globals.h') 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 +#include #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 -- cgit v1.2.1