summaryrefslogtreecommitdiff
path: root/src/config.h.in
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-02-02 19:21:53 -0200
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-02-02 19:21:53 -0200
commit05c33f53081cf737852f86bf3e19891e99043103 (patch)
tree34a1f3b813399658140e240ab6a3984884dc4420 /src/config.h.in
parent73ccf4d1b9e0730bbe6e879b3e2d267e07996c16 (diff)
downloadgperftools-05c33f53081cf737852f86bf3e19891e99043103.tar.gz
issue-496: Fix possible deadlock in thread+fork
This patch adds a pthread_atfork handler to set the internal locks in consistent state.
Diffstat (limited to 'src/config.h.in')
-rw-r--r--src/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in
index b13d0c8..46bc9f9 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -56,6 +56,9 @@
/* Define to 1 if you have the <features.h> header file. */
#undef HAVE_FEATURES_H
+/* Define to 1 if you have the `fork' function. */
+#undef HAVE_FORK
+
/* Define to 1 if you have the `geteuid' function. */
#undef HAVE_GETEUID