JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::ThreadPriorities Struct Reference

#include <juce_ThreadPriorities_native.h>

Collaboration diagram for juce::ThreadPriorities:

Classes

struct  Entry
 

Public Types

enum  AndroidThreadPriority {
  THREAD_PRIORITY_AUDIO = -16 ,
  THREAD_PRIORITY_FOREGROUND = -2 ,
  THREAD_PRIORITY_MORE_FAVORABLE = -1 ,
  THREAD_PRIORITY_DEFAULT = 0 ,
  THREAD_PRIORITY_LESS_FAVORABLE = 1 ,
  THREAD_PRIORITY_BACKGROUND = 10 ,
  THREAD_PRIORITY_LOWEST = 19
}
 

Static Public Member Functions

static Thread::Priority getJucePriority (const int value)
 
static int getNativePriority (const Thread::Priority value)
 

Static Public Attributes

static constexpr Entry table []
 

Member Enumeration Documentation

◆ AndroidThreadPriority

Enumerator
THREAD_PRIORITY_AUDIO 
THREAD_PRIORITY_FOREGROUND 
THREAD_PRIORITY_MORE_FAVORABLE 
THREAD_PRIORITY_DEFAULT 
THREAD_PRIORITY_LESS_FAVORABLE 
THREAD_PRIORITY_BACKGROUND 
THREAD_PRIORITY_LOWEST 

Member Function Documentation

◆ getJucePriority()

static Thread::Priority juce::ThreadPriorities::getJucePriority ( const int  value)
inlinestatic

References jassert, and table.

◆ getNativePriority()

static int juce::ThreadPriorities::getNativePriority ( const Thread::Priority  value)
inlinestatic

References jassert, and table.

Member Data Documentation

◆ table

constexpr Entry juce::ThreadPriorities::table[]
inlinestaticconstexpr

The documentation for this struct was generated from the following file: