Skip to content

Conversation

@dirk-thomas
Copy link
Member

Fixes a race between one thread spinning and calling rclcpp::shutdown() from another thread by making the critical sections mutually exclusive.

The test has been failing since the first nightly build (https://ci.ros2.org/view/nightly/job/nightly_osx_repeated/1939/testReport/(root)/projectroot/test_lifecycle_service_client/) after being added in #1045.

Before: Build Status
After: Build Status

@dirk-thomas dirk-thomas added the bug Something isn't working label Jun 26, 2020
@dirk-thomas dirk-thomas self-assigned this Jun 26, 2020
Copy link
Contributor

@brawner brawner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Dirk for addressing this issue.

@dirk-thomas dirk-thomas merged commit 873a3d5 into master Jun 26, 2020
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/fix-race-in-test branch June 26, 2020 23:00
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Jul 7, 2020
ahcorde pushed a commit that referenced this pull request Nov 3, 2020
ahcorde pushed a commit that referenced this pull request Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants