-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Milestone
Description
Description
When users call rtcan_subscribe, the subscriber hashmap is modified. If this happens while the RTCAN receive thread is running, it may not be thread safe.
Requirements
- Add a new mutex to RTCAN instances.
- Lock the mutex when
rtcan_subscribeis modifying the subscriber hashmap. - Lock the mutex when the RTCAN receive thread is reading the subscriber hashmap.
Reactions are currently unavailable