summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2012-02-20 21:51:21 +0400
committerIvan Maidanski <ivmai@mail.ru>2012-02-20 21:52:27 +0400
commite9b11b6655c45ad3ab3326707aa31567a767134b (patch)
tree8b87c55cfbdd35f8e3da39461120fb6181254d78 /doc
parent5a9b1a5cb59fc44e4f11fe26148ad61a5ac6f9ea (diff)
downloadbdwgc-e9b11b6655c45ad3ab3326707aa31567a767134b.tar.gz
Fix gcconfig to turn on POSIX fork() support by default
(define HANDLE_FORK on Unix platforms with pthreads) * doc/README.macros (HANDLE_FORK): Replace with NO_HANDLE_FORK; update the documentation. * include/private/gcconfig.h (HANDLE_FORK): Explicitly define if GC_PTHREADS unless already defined or NO_HANDLE_FORK is defined, or unsupported on the target.
Diffstat (limited to 'doc')
-rw-r--r--doc/README.macros6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/README.macros b/doc/README.macros
index 1136f3aa..659e958c 100644
--- a/doc/README.macros
+++ b/doc/README.macros
@@ -435,9 +435,9 @@ STUBBORN_ALLOC Allows allocation of "hard to change" objects, and thus
makes incremental collection easier. Was enabled by default until 6.0.
Rarely used, to my knowledge.
-HANDLE_FORK Attempts to make GC_malloc() work in a child process fork()'ed
- from a multithreaded parent. Currently only supported by pthread_support.c.
- (Similar code should work on Solaris or Irix, but it hasn't been tried.)
+NO_HANDLE_FORK (Unix only) Do not attempt to make GC_malloc() work in
+ a child process fork()'ed from a multi-threaded parent. (Might be required
+ if pthread_atfork is missing.)
TEST_WITH_SYSTEM_MALLOC Causes gctest to allocate (and leak) large
chunks of memory with the standard system malloc. This will cause the root