]> granicus.if.org Git - gc/commit
FIX: Disable incremental mode on Darwin if fork handling requested
authorIvan Maidanski <ivmai@mail.ru>
Mon, 2 Apr 2012 18:31:22 +0000 (22:31 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 3 Apr 2012 04:15:54 +0000 (08:15 +0400)
commitcad34343056a5f9b4598b5ddc36ed8ce0e264399
treeb0e0408635970f85a7584372ad6557449c1122f4
parent1555aa8dd31db657c0ad5eed618757157783c2e5
FIX: Disable incremental mode on Darwin if fork handling requested

* doc/README.macros (NO_HANDLE_FORK): Replace back with HANDLE_FORK
and update.
* include/private/gcconfig.h (CAN_HANDLE_FORK): Define also for Darwin
in case of MPROTECT_VDB.
* misc.c (GC_set_handle_fork): Handle Darwin properly; add comment.
* os_dep.c (GC_dirty_init): Do not turn on GC_dirty_maintained for
Darwin if GC_handle_fork is on; add comment; remove FIXME.
* pthread_support.c (GC_fork_prepare_proc): Remove WARN for Darwin
(since GC_dirty_maintained is off in that case).
* pthread_support.c (GC_fork_child_proc): Remove comment (for Darwin).
doc/README.macros
include/private/gcconfig.h
misc.c
os_dep.c
pthread_support.c