diff options
author | Qi Wang <interwq@gwu.edu> | 2017-06-09 07:00:48 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-06-12 15:56:14 (GMT) |
commit | b83b5ad44a51a18d9b9813906d22c7e008d2b517 (patch) | |
tree | a3ee5986a57fe2959b2ec6d3355b834801e74d5d /src/jemalloc.c | |
parent | 464cb60490efda800625b16fedd5bcd238e1526e (diff) | |
download | jemalloc-b83b5ad44a51a18d9b9813906d22c7e008d2b517.zip jemalloc-b83b5ad44a51a18d9b9813906d22c7e008d2b517.tar.gz jemalloc-b83b5ad44a51a18d9b9813906d22c7e008d2b517.tar.bz2 |
Not re-enable background thread after fork.
Avoid calling pthread_create in postfork handlers.
Diffstat (limited to 'src/jemalloc.c')
-rw-r--r-- | src/jemalloc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c index e2865d2..52c86aa 100644 --- a/src/jemalloc.c +++ b/src/jemalloc.c @@ -340,7 +340,6 @@ arena_new_create_background_thread(tsdn_t *tsdn, unsigned ind) { if (ind == 0) { return; } - /* background_thread_create() handles reentrancy internally. */ if (have_background_thread) { bool err; malloc_mutex_lock(tsdn, &background_thread_lock); |