-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define callback types for folly::ExecutionObserver
Summary: For folly::ExecutionObserver we want to know what type of callback are we dealing with. Currently introducing 4 different types of callbacks: 1. LibeventCallbacks - Those are the ones inside EventHandler::libeventCallback 2. LoopCallbacks - Those are user defined callbacks, classes derived from LoopCallback and implementing `runLoopCallback` method 3. NotificationQueueCallbacks - Anytime someones does `runInEventBaseThread` from different thread we put this on notification queue and then execute them as a batch 4. Fiber callbacks - Not sure if we really needs this? Reviewed By: ot Differential Revision: D54395157 fbshipit-source-id: fe79adf5986f9e8dc79f93fae9f39c457d9961b2
- Loading branch information
1 parent
ac06dfd
commit 8aceb9b
Showing
5 changed files
with
52 additions
and
16 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