JUCE: Thread::RealtimeOptions Struct Reference

JUCE

- Main Page
- Related Pages
- Modules
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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

A selection of options available when creating realtime threads. More...

`#include <juce_Thread.h>`

## 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:

- juce_Thread.h