Loading...
Searching...
No Matches
Public Attributes | List of all members
Thread::RealtimeOptions Struct Reference

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.
 

Detailed Description

A selection of options available when creating realtime threads.

See also
startRealtimeThread

Member Data Documentation

◆ priority

int Thread::RealtimeOptions::priority = 5

Linux only: A value with a range of 0-10, where 10 is the highest priority.

◆ workDurationMs

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.


The documentation for this struct was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram