summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/lock.h')
-rw-r--r--arch/x86_64/lock.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86_64/lock.h b/arch/x86_64/lock.h
new file mode 100644
index 0000000..609ea39
--- /dev/null
+++ b/arch/x86_64/lock.h
@@ -0,0 +1,9 @@
+#ifndef _JOVE_x86_64_LOCK_H
+#define _JOVE_x86_64_LOCK_H 1
+
+#include <stdatomic.h>
+
+void take_mutex(atomic_flag *lock);
+void release_mutex(atomic_flag *lock);
+
+#endif