forked from ivmai/bdwgc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use separate thread for finalisation
This commit creates a finalisation thread in the GC_INIT() routine. The thread spins indefinitely waiting to process objects in the finaliser buffers. This commit also makes sure that once an object has been finalised, its finalised bit is set so that it is not re-added to the buffer the next time it becomes unreachable.
- Loading branch information
1 parent
29d65b9
commit 92f2fc0
Showing
1 changed file
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters