File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ rcutils_ret_t calculate_os_fifo_thread_priority(
8383 */
8484RCUTILS_PUBLIC
8585rcutils_ret_t configure_native_realtime_thread (
86- unsigned long int native_handle , const int priority ,
86+ unsigned long int native_handle , const int priority , // NOLINT
8787 const unsigned int cpu_bitmask );
8888
8989#ifdef __cplusplus
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ rcutils_ret_t calculate_os_fifo_thread_priority(
6868}
6969
7070rcutils_ret_t configure_native_realtime_thread (
71- unsigned long int native_handle , const int priority ,
71+ unsigned long int native_handle , const int priority , // NOLINT
7272 const unsigned int cpu_bitmask )
7373{
7474 int success = 1 ;
Original file line number Diff line number Diff line change 2424TEST (test_thread, config_rt_thread) {
2525#ifdef __linux__
2626 const unsigned cpu_id = 0 ;
27- const unsigned long cpu_bitmask = 1 << cpu_id;
27+ const unsigned long cpu_bitmask = 1 << cpu_id; // NOLINT
2828 const int priority = THREAD_PRIORITY_MEDIUM;
2929 if (configure_native_realtime_thread (pthread_self (), priority, cpu_bitmask) != RCUTILS_RET_OK) {
3030 GTEST_SKIP () << " Unable to set realtime thread priority." ;
You can’t perform that action at this time.
0 commit comments