diff options
author | Christian Cunningham <cc@localhost> | 2022-02-13 17:31:22 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-13 17:31:22 -0700 |
commit | e814983a452c40734c5ecc63581df88d3925835e (patch) | |
tree | 39ea355b1e47fa0baf3acb49e2229616827f4af5 /include/util | |
parent | a0d6941b2ef689302dce37d1a864fd4213a0a559 (diff) |
Mode-aware locking
Diffstat (limited to 'include/util')
-rw-r--r-- | include/util/lock.h | 2 |
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 |