dispenso
1.4.1
A library for task parallelism
Loading...
Searching...
No Matches
priority.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* This source code is licensed under the MIT license found in the
5
* LICENSE file in the root directory of this source tree.
6
*/
7
21
#pragma once
22
23
#include <
dispenso/platform.h
>
24
25
namespace
dispenso {
26
30
enum class
ThreadPriority
{ kLow, kNormal, kHigh, kRealtime };
31
40
DISPENSO_DLL_ACCESS ThreadPriority getCurrentThreadPriority();
41
49
DISPENSO_DLL_ACCESS
bool
setCurrentThreadPriority(ThreadPriority prio);
50
51
}
// namespace dispenso
platform.h
dispenso::ThreadPriority
ThreadPriority
Definition
priority.h:30
dispenso
priority.h
Generated by
1.12.0