From e814983a452c40734c5ecc63581df88d3925835e Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sun, 13 Feb 2022 17:31:22 -0700 Subject: Mode-aware locking --- include/util/lock.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/util') diff --git a/include/util/lock.h b/include/util/lock.h index 78add88..f6f8f53 100644 --- a/include/util/lock.h +++ b/include/util/lock.h @@ -7,6 +7,8 @@ struct Lock { unsigned long pid; } __attribute__((packed, aligned(4))); +void lock(struct Lock* l); +void unlock(struct Lock* l); struct Lock* create_lock(void); #endif -- cgit v1.2.1