summaryrefslogtreecommitdiffstats
path: root/memory/replace/jemalloc/pthread_atfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'memory/replace/jemalloc/pthread_atfork.c')
-rw-r--r--memory/replace/jemalloc/pthread_atfork.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/memory/replace/jemalloc/pthread_atfork.c b/memory/replace/jemalloc/pthread_atfork.c
new file mode 100644
index 000000000..6e737f072
--- /dev/null
+++ b/memory/replace/jemalloc/pthread_atfork.c
@@ -0,0 +1,10 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+int pthread_atfork(void (*prefork)(void),
+ void (*postfork_parent)(void),
+ void (*postfork_child)(void))
+{
+ return 0;
+}