-
Notifications
You must be signed in to change notification settings - Fork 539
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace ExecutorObserver with native method
Summary: I plan to deprecate `IOThreadPoolExecutorBase::getEventBase()` because it is too coupled with the implementation of `IOThreadPoolExecutor` and does not allow alternative implementations. Replacing `ExecutorObserver` is easy because `IOThreadPoolExecutorBase` provides `getAllEventBases()`, which is exactly what we need and actually works even in the dynamic case. Reviewed By: stuclar Differential Revision: D52093711 fbshipit-source-id: 0cf869b19c9338ed1ef013046847d142fbb50dbd
- Loading branch information
1 parent
c8ba1ee
commit fbe8b8d
Showing
5 changed files
with
27 additions
and
73 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
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