-
Notifications
You must be signed in to change notification settings - Fork 433
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add spin_some support to the StaticSingleThreadedExecutor (#1338)
* spin_some/spin_all/spin_once support: static executor Signed-off-by: Mauro <[email protected]> * Use spin_once instead of spin_once_impl Signed-off-by: Mauro Passerino <[email protected]> * Fix memory leak Signed-off-by: Mauro Passerino <[email protected]> * revert spinSome change Signed-off-by: Mauro Passerino <[email protected]> * Override spin_once_impl only This way the StaticSingleThreadedExecutor uses spin_once and spin_until_future_complete APIs from the base executor class, but uses its own overrided version of spin_once_impl. Signed-off-by: Mauro Passerino <[email protected]> Co-authored-by: Mauro <[email protected]>
- Loading branch information
1 parent
7b94f28
commit 06a4ee0
Showing
7 changed files
with
218 additions
and
165 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
Oops, something went wrong.