diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-02-02 19:21:53 -0200 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-02-02 19:21:53 -0200 |
commit | 05c33f53081cf737852f86bf3e19891e99043103 (patch) | |
tree | 34a1f3b813399658140e240ab6a3984884dc4420 /src/config.h.in | |
parent | 73ccf4d1b9e0730bbe6e879b3e2d267e07996c16 (diff) | |
download | gperftools-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.in | 3 |
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 |