Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ivmai opened this issue Nov 30, 2023 · 1 comment

Comments

@ivmai
Copy link
Owner

ivmai commented Nov 30, 2023

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.

@ivmai
Copy link
Owner Author

ivmai commented Nov 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant