ivmai / bdwgc

The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)

Home Page:https://www.hboehm.info/gc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable GC_set_handle_fork(1) with incremental mode on for single-threaded build on Darwin

ivmai opened this issue · comments

As noted in issue #103, as of commit ba2861e, fork handling lo longer conflicts with the incremental mode on Darwin (OS X), but only in case of libgc is built in the multi-threaded configuration.
The current issue (feature request) is about supporting fork handling plus incremental mode in single-threaded libgc builds on Darwin.

Th is would require calling pthread_atfork and the relevant GC API calls for a single-threaded build.