This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify handling of thread starts and GC suspend
- only keep threads in global thread list while they are running this directly avoids any issues with signals delivered during thread startup - add an aboutToStart array to keep track of just spawned threads this is needed so that thread_joinAll doesn't miss a thread also the windows dll_attach_thread code looks up a just spawned thread - remove all the misleading comments - remove all the cargo cult handling of situations that can no longer occur, e.g. suspendDepth being set while adding a thread
- Loading branch information
1 parent
713aa05
commit 7ec6520
Showing
1 changed file
with
99 additions
and
116 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