Skip to content

Conversation

jacob-hughes
Copy link
Collaborator

With this API, Boehm automatically invokes our finalization-thread code when there is finalization work to do (using GC_set_finalizer_notifier) and handles synchronization internally.

With this API, Boehm automatically invokes our finalization-thread code
when there is finalization work to do (using GC_set_finalizer_notifier)
and handles synchronization internally.
@ltratt
Copy link
Member

ltratt commented Apr 25, 2025

Dumb question: I was expecting to see some more code relating to the finalisation thread deleted? For example, can we now accidentally create two finalization threads? Or should I expect to see that in a PR to our BDWGC fork?

jacob-hughes added a commit to jacob-hughes/bdwgc that referenced this pull request Apr 25, 2025
This is now handled externally inside Alloy using the finalizer notifier
API [1].

[1]: softdevteam/alloy#177
@jacob-hughes
Copy link
Collaborator Author

Good question! That has indeed been removed in Boehm here softdevteam/bdwgc#29

jacob-hughes added a commit to jacob-hughes/bdwgc that referenced this pull request Apr 25, 2025
This is now handled externally inside Alloy using the finalizer notifier
API [1].

[1]: softdevteam/alloy#177
@ltratt ltratt added this pull request to the merge queue Apr 25, 2025
Merged via the queue into softdevteam:master with commit 7cb1ab9 Apr 25, 2025
4 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants