Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Rundown behavior to DispatchQueue
This behavior is necessary to get the `CoreThread` teardown behavior to function properly. It is also specifically mentioned in the documentation for `Abort`, so it's probably a good idea that we actually implement it. Also use this behavior in `CoreThread::DoRunLoopCleanup`. There is a race condition that occurs in the current implementation which can arise when a lambda is pended at about the same time as termination happens; this lambda can sometimes be leaked.
- Loading branch information
1 parent
a754567
commit f2410e5
Showing
4 changed files
with
94 additions
and
36 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
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
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
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