-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EventEngine] Refactor ThreadManager to leverage a shared ThreadPool (#…
…31392) * Refactor ThreadManager to leverage a shared ThreadPool This is a step towards a work-stealing thread pool implementation: unifying thread pools so that work stealing affects timer callbacks as well. A subsequent step will expose the timeout logic so that the timer wakeup and check can be triggered externally (by pollers, in the common case). * fix atomic uint64_t type missing on some platforms * sanitize + platform fixes * ->quiesce * shut down the timer manager to release the main thread * roll back atomics * use a dedicated thread for timer_manager to prevent local execution (work stealing) * drain the pools after timer manager tests; sanitize * iwyu * reintroduce fork handling * sanitize * fix
- Loading branch information
Showing
8 changed files
with
101 additions
and
221 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
Oops, something went wrong.