From 1aac36f788834699b6891aea7a83eb950bd5e8f6 Mon Sep 17 00:00:00 2001 From: stefan Date: Sat, 8 Apr 2023 20:42:18 -0400 Subject: no idea whot i changed lol --- sys/include/spinlock.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sys/include/spinlock.h (limited to 'sys/include/spinlock.h') diff --git a/sys/include/spinlock.h b/sys/include/spinlock.h new file mode 100644 index 0000000..3400445 --- /dev/null +++ b/sys/include/spinlock.h @@ -0,0 +1,11 @@ +#ifndef _LOCK_H +#define _LOCK_H + +struct spinlock { + int locked; + const char *name; +}; + +void initlock(struct spinlock *, const char *); + +#endif /* _LOCK_H */ -- cgit v1.2.3