summaryrefslogtreecommitdiff
path: root/sysdeps/generic/fork.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/fork.h')
-rw-r--r--sysdeps/generic/fork.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/generic/fork.h b/sysdeps/generic/fork.h
new file mode 100644
index 0000000000..623cae28df
--- /dev/null
+++ b/sysdeps/generic/fork.h
@@ -0,0 +1,8 @@
+/* Stub version of header for fork handling. Mainly to handle pthread_atfork
+ and friends. Outside dependencies:
+
+ UNREGISTER_ATFORK
+ If defined it must expand to a function call which takes one void*
+ parameter which is the DSO handle for the DSO which gets unloaded.
+ The function so called has to remove the atfork handlers registered
+ by this module. */