Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make events threadsafe (gazebo9) #3064

Merged
merged 1 commit into from
Aug 16, 2021
Merged

Make events threadsafe (gazebo9) #3064

merged 1 commit into from
Aug 16, 2021

Commits on Aug 13, 2021

  1. Make events threadsafe

    - Initial connection (insert) and cleanup (remove) locked with mutex
    - Signal (access) checks for object not null before attempting to access (not locking because would need recursive mutex)
    - Declare mutex as mutable so EventCount const method can block it
    - Include race condition test to play with connections inside an event
    
    (contribution by Sonia Jin from AWS, back port of #3042)
    Co-authored-by: Jose Luis Rivero <jrivero@osrfoundation.org>
    lihui815 authored and j-rivero committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    8ca4586 View commit details
    Browse the repository at this point in the history