diff options
author | Christian Cunningham <cc@localhost> | 2022-01-05 14:27:09 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-05 14:27:09 -0800 |
commit | 866a6ca0e749f4446b7fdc7579a6d553df85ec10 (patch) | |
tree | d259223d85c224d649c6c38675e99b155d50cf48 /src/util/mutex.h | |
parent | 3a8ed19bf83f11ff00c4904fab2cc083b7e33478 (diff) |
Moved includes to its own directory
Diffstat (limited to 'src/util/mutex.h')
-rw-r--r-- | src/util/mutex.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/util/mutex.h b/src/util/mutex.h deleted file mode 100644 index 524a461..0000000 --- a/src/util/mutex.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef UTIL_MUTEX_H -#define UTIL_MUTEX_H - -#define NULL_PID 0 -#define SYS_PID 1 -#define SCHED_PID 2 - -struct Mutex { - void* addr; - unsigned long pid; -} __attribute__((packed, aligned(4)));; - -unsigned char lock_mutex(struct Mutex*, unsigned long); -unsigned char release_mutex(struct Mutex*, unsigned long); -struct Mutex* create_mutex(void* addr); - -#endif |