JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::PosixSchedulerPriority Class Reference

#include <juce_SharedCode_posix.h>

Collaboration diagram for juce::PosixSchedulerPriority:

Public Member Functions

void apply (PosixThreadAttribute &attr) const
 
constexpr int getPriority () const
 
constexpr int getScheduler () const
 

Static Public Member Functions

static PosixSchedulerPriority findCurrentSchedulerAndPriority ()
 
static PosixSchedulerPriority getNativeSchedulerAndPriority (const Optional< Thread::RealtimeOptions > &rt, Thread::Priority prio)
 

Private Member Functions

constexpr PosixSchedulerPriority (int schedulerIn, int priorityIn)
 

Private Attributes

int priority
 
int scheduler
 

Constructor & Destructor Documentation

◆ PosixSchedulerPriority()

constexpr juce::PosixSchedulerPriority::PosixSchedulerPriority ( int  schedulerIn,
int  priorityIn 
)
inlineconstexprprivate

Member Function Documentation

◆ apply()

void juce::PosixSchedulerPriority::apply ( PosixThreadAttribute attr) const
inline

References getScheduler().

◆ findCurrentSchedulerAndPriority()

static PosixSchedulerPriority juce::PosixSchedulerPriority::findCurrentSchedulerAndPriority ( )
inlinestatic

References scheduler.

◆ getNativeSchedulerAndPriority()

◆ getPriority()

constexpr int juce::PosixSchedulerPriority::getPriority ( ) const
inlineconstexpr

References priority.

◆ getScheduler()

constexpr int juce::PosixSchedulerPriority::getScheduler ( ) const
inlineconstexpr

References scheduler.

Referenced by apply().

Member Data Documentation

◆ priority

int juce::PosixSchedulerPriority::priority
private

◆ scheduler

int juce::PosixSchedulerPriority::scheduler
private

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