[ros-users] [Discourse.ros.org] [Next Generation ROS] Adding clang thread safety analysis for ROS2 core packages

Emerson Knapp via Discourse.ros.org ros.discourse at gmail.com
Fri Feb 22 20:21:02 UTC 2019

Proposal for phasing/staging moving forward on this:

1. Create `rcpputils` package with annotation macros
1. Enable `-Wthread-safety` on `rmw_fastrtps` and migrate to the private-mutex pattern for `TopicCache`
1. Enable `-Wthread-safety-negative` on `rmw_fastrtps` and add negative capability annotations where needed
1. Perform 2&3 on the other rmw implementations

[Visit Topic](https://discourse.ros.org/t/adding-clang-thread-safety-analysis-for-ros2-core-packages/7930/8) or reply to this email to respond.

More information about the ros-users mailing list