]> 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>
Mon, 2 Apr 2012 18:31:22 +0000 (22:31 +0400)
commita7817bc0eff5d20015a952fdb51e777d2c887e17
tree880d273f6925d73f84caf3e1d4e56e85f30bcad4
parent1e882b98c2cf9479a9cd08a67439dab7f9622924
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