Skip to content

Commit

Permalink
Merge pull request #3 from simutisernestas/main
Browse files Browse the repository at this point in the history
docs: Add comment regarding maximum rtprio
  • Loading branch information
2b-t committed Oct 31, 2022
2 parents db7dc7c + d9b6eeb commit 9f28842
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ ulimits:
network_mode: host
```

Then **any process from inside the Docker can set real-time priorities `rtprio`** (e.g. by calling [`::pthread_setschedparam`](https://man7.org/linux/man-pages/man3/pthread_getschedparam.3.html) from inside the C/C++ code or by using [`chrt`](https://askubuntu.com/a/51285) from the command line).


Then **any process from inside the Docker can set real-time priorities `rtprio`** (e.g. by calling [`::pthread_setschedparam`](https://man7.org/linux/man-pages/man3/pthread_getschedparam.3.html) from inside the C/C++ code or by using [`chrt`](https://askubuntu.com/a/51285) from the command line). Note: [do NOT](https://github.com/ros2-realtime-demo/pendulum/blob/rolling/docs/real_time_linux.md#setting-permissions-for-the-scheduler) setting rtprio to 99 might be undesirable/dangerous in some cases.

## 2. Example

Expand Down

0 comments on commit 9f28842

Please sign in to comment.