about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/generic/fork.h
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/generic/fork.h')
-rw-r--r--REORG.TODO/sysdeps/generic/fork.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/generic/fork.h b/REORG.TODO/sysdeps/generic/fork.h
new file mode 100644
index 0000000000..623cae28df
--- /dev/null
+++ b/REORG.TODO/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.  */