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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/lock.h b/arch/x86_64/lock.h
index 609ea39..3592ea1 100644
--- a/arch/x86_64/lock.h
+++ b/arch/x86_64/lock.h
@@ -4,6 +4,8 @@
#include <stdatomic.h>
void take_mutex(atomic_flag *lock);
+int try_take_mutex(atomic_flag *lock);
+
void release_mutex(atomic_flag *lock);
#endif