aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-13 17:31:22 -0700
committerChristian Cunningham <cc@localhost>2022-02-13 17:31:22 -0700
commite814983a452c40734c5ecc63581df88d3925835e (patch)
tree39ea355b1e47fa0baf3acb49e2229616827f4af5 /include
parenta0d6941b2ef689302dce37d1a864fd4213a0a559 (diff)
Mode-aware locking
Diffstat (limited to 'include')
-rw-r--r--include/util/lock.h2
1 files changed, 2 insertions, 0 deletions
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