-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wjwwood] Updated "Data race fixes" (#2500)
* Fix callback group logic in executor Signed-off-by: Janosch Machowinski <[email protected]> * fix: Fixed unnecessary copy of wait_set Signed-off-by: Janosch Machowinski <[email protected]> * fix(executor): Fixed race conditions with rebuild of wait_sets Before this change, the rebuild of wait set would be triggered after the wait set was waken up. With bad timing, this could lead to the rebuild not happening with multi threaded executor. Signed-off-by: Janosch Machowinski <[email protected]> * fix(Executor): Fixed lost of entities rebuild request Signed-off-by: Janosch Machowinski <[email protected]> * chore: Added assert for not set callback_group in execute_any_executable Signed-off-by: Janosch Machowinski <[email protected]> * Add test for cbg getting reset Signed-off-by: Michael Carroll <[email protected]> Co-authored-by: Janosch Machowinski <[email protected]> * chore: renamed test cases to snake_case Signed-off-by: Janosch Machowinski <[email protected]> * style Signed-off-by: William Woodall <[email protected]> * fixup test to avoid polling and short timeouts Signed-off-by: William Woodall <[email protected]> * fix: Use correct notify_waitable_ instance Signed-off-by: Janosch Machowinski <[email protected]> * fix(StaticSingleThreadedExecutor): Added missing special case handling for current_notify_waitable_ Signed-off-by: Janosch Machowinski <[email protected]> * fix(TestCallbackGroup): Fixed test after change to timers Signed-off-by: Janosch Machowinski <[email protected]> --------- Signed-off-by: Janosch Machowinski <[email protected]> Signed-off-by: Janosch Machowinski <[email protected]> Signed-off-by: Michael Carroll <[email protected]> Signed-off-by: William Woodall <[email protected]> Co-authored-by: Janosch Machowinski <[email protected]> Co-authored-by: Michael Carroll <[email protected]> Co-authored-by: Janosch Machowinski <[email protected]>
- Loading branch information
1 parent
dec22a2
commit 90e4511
Showing
7 changed files
with
247 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
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.