You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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_subscribe is modifying the subscriber hashmap.
Lock the mutex when the RTCAN receive thread is reading the subscriber hashmap.
The text was updated successfully, but these errors were encountered:
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
rtcan_subscribe
is modifying the subscriber hashmap.The text was updated successfully, but these errors were encountered: