tracktion-engine
3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation
Loading...
Searching...
No Matches
tracktion_graph
utilities
tracktion_Threads.h
Go to the documentation of this file.
1
/*
2
,--. ,--. ,--. ,--.
3
,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2024
4
'-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software
5
| | | | \ '-' \ `--.| \ \ | | | |' '-' '| || | Corporation
6
`---' `--' `--`--'`---'`--'`--' `---' `--' `---' `--''--' www.tracktion.com
7
8
Tracktion Engine uses a GPL/commercial licence - see LICENCE.md for details.
9
*/
10
11
#pragma once
12
13
namespace
tracktion
{
inline
namespace
graph
14
{
15
23
bool
setThreadPriority (
std::thread
&,
int
priority);
24
26
bool
tryToUpgradeCurrentThreadToRealtime
(
const
juce::Thread::RealtimeOptions
&);
27
28
}}
// namespace tracktion_engine
tracktion
Definition
tracktion_AudioReader.h:23
tracktion::graph::tryToUpgradeCurrentThreadToRealtime
bool tryToUpgradeCurrentThreadToRealtime(const juce::Thread::RealtimeOptions &)
Tries to upgrade the current thread to realtime priority.
Definition
tracktion_Threads.cpp:111
juce::Thread::RealtimeOptions
std::thread
« « « Anklang Documentation