A selection of options available when creating realtime threads. More...
Public Attributes | |
int | priority = 5 |
Linux only: A value with a range of 0-10, where 10 is the highest priority. | |
uint32_t | workDurationMs = 0 |
iOS/macOS only: A millisecond value representing the estimated time between each 'Thread::run' call. | |
A selection of options available when creating realtime threads.
int Thread::RealtimeOptions::priority = 5 |
Linux only: A value with a range of 0-10, where 10 is the highest priority.
uint32_t Thread::RealtimeOptions::workDurationMs = 0 |
iOS/macOS only: A millisecond value representing the estimated time between each 'Thread::run' call.
Your thread may be penalised if you frequently overrun this.