summaryrefslogtreecommitdiff
path: root/src/core/pidwait.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/pidwait.h')
-rw-r--r--src/core/pidwait.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/pidwait.h b/src/core/pidwait.h
new file mode 100644
index 00000000..3f6b84cd
--- /dev/null
+++ b/src/core/pidwait.h
@@ -0,0 +1,12 @@
+#ifndef __PIDWAIT_H
+#define __PIDWAIT_H
+
+void pidwait_init(void);
+void pidwait_deinit(void);
+
+/* add a pid to wait list */
+void pidwait_add(int pid);
+/* remove pid from wait list */
+void pidwait_remove(int pid);
+
+#endif