Skip to content

Commit

Permalink
Merge pull request #84 from ros2-realtime-demo/fix-rt_thread
Browse files Browse the repository at this point in the history
Fix function declaration discrepancy in rt_thread
  • Loading branch information
LanderU authored Jul 10, 2021
2 parents dff4bf9 + a59df8c commit 1492110
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pendulum_utils/include/pendulum_utils/rt_thread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ namespace pendulum
{
namespace utils
{
int set_thread_priority(size_t sched_priority, int policy);
int set_thread_priority(pid_t pid, size_t sched_priority, int policy);
int set_this_thread_priority(size_t sched_priority, int policy);
int set_thread_cpu_affinity(uint32_t cpu_bit_mask);
int set_thread_cpu_affinity(pid_t pid, uint32_t cpu_bit_mask);
int set_this_thread_cpu_affinity(uint32_t cpu_bit_mask);
} // namespace utils
} // namespace pendulum
Expand Down

0 comments on commit 1492110

Please sign in to comment.