aboutsummaryrefslogtreecommitdiffstats
path: root/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'lock.h')
-rw-r--r--lock.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lock.h b/lock.h
new file mode 100644
index 00000000..0c9a5951
--- /dev/null
+++ b/lock.h
@@ -0,0 +1,12 @@
+#ifndef FM_LOCK_H
+#define FM_LOCK_H
+
+/* lock.c: concurrency locking */
+void lock_setup(struct runctl *);
+void lock_assert(void);
+void lock_or_die(void);
+void fm_lock_release(void);
+int lock_state(void);
+void lock_dispose(void);
+
+#endif