diff options
author | Christian Cunningham <cc@localhost> | 2022-03-18 13:39:56 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-18 13:39:56 -0700 |
commit | 0c3837ef8fe77b0d65094f6a2cf3d7b17bcc7cbf (patch) | |
tree | aa018a9f606b7e983700d6268bb444ddaf020b5d /include/globals.h | |
parent | 74f95c5696335b02d768815fea2940bf089d057f (diff) |
Added mutex management queues
Diffstat (limited to 'include/globals.h')
-rw-r--r-- | include/globals.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/globals.h b/include/globals.h index 24bd4f5..6c7e1f1 100644 --- a/include/globals.h +++ b/include/globals.h @@ -13,12 +13,13 @@ extern unsigned long nextpid; extern unsigned long stimel; extern unsigned long stimeh; extern struct Scheduler scheduler; +extern struct MutexManager mutex_manager; extern struct Thread usrloopthread; extern unsigned int gwidth, gheight, gpitch, gisrgb; +extern struct Mutex mutexs[MAX_MUTEXS]; +extern struct Entry mutex_entries[MAX_MUTEXS]; extern struct Thread threads[MAX_THREADS]; extern struct Entry thread_entries[MAX_THREADS]; -extern unsigned long mutex_table[MAX_MUTEXS]; -extern struct Mutex mutexs[MAX_MUTEXS]; #endif #endif |