ros-controls / realtime_tools

Contains a set of tools that can be used from a hard realtime thread, without breaking the realtime behavior.
https://control.ros.org
BSD 3-Clause "New" or "Revised" License
140 stars 76 forks source link

Rename thread_priority to realtime_helpers header #178

Closed saikishor closed 4 weeks ago

saikishor commented 1 month ago

Fixes: https://github.com/ros-controls/realtime_tools/issues/177

This is done to also have backward compatibility

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.36%. Comparing base (a11e9cf) to head (62509cf).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #178 +/- ## ======================================= Coverage 75.36% 75.36% ======================================= Files 8 8 Lines 341 341 Branches 62 54 -8 ======================================= Hits 257 257 Misses 50 50 Partials 34 34 ``` | [Flag](https://app.codecov.io/gh/ros-controls/realtime_tools/pull/178/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ros-controls) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/ros-controls/realtime_tools/pull/178/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ros-controls) | `75.36% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ros-controls#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/ros-controls/realtime_tools/pull/178?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ros-controls) | Coverage Δ | | |---|---|---| | [include/realtime\_tools/async\_function\_handler.hpp](https://app.codecov.io/gh/ros-controls/realtime_tools/pull/178?src=pr&el=tree&filepath=include%2Frealtime_tools%2Fasync_function_handler.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ros-controls#diff-aW5jbHVkZS9yZWFsdGltZV90b29scy9hc3luY19mdW5jdGlvbl9oYW5kbGVyLmhwcA==) | `91.02% <ø> (ø)` | | | [src/realtime\_helpers.cpp](https://app.codecov.io/gh/ros-controls/realtime_tools/pull/178?src=pr&el=tree&filepath=src%2Frealtime_helpers.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ros-controls#diff-c3JjL3JlYWx0aW1lX2hlbHBlcnMuY3Bw) | `11.42% <ø> (ø)` | |