dispenso
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
8
#pragma once
9
10
#include <dispenso/platform.h>
11
24
namespace
dispenso {
25
29
enum class
ThreadPriority
{ kLow, kNormal, kHigh, kRealtime };
30
39
DISPENSO_DLL_ACCESS ThreadPriority getCurrentThreadPriority();
40
48
DISPENSO_DLL_ACCESS
bool
setCurrentThreadPriority(ThreadPriority prio);
49
50
}
// namespace dispenso
dispenso::ThreadPriority
ThreadPriority
Definition
priority.h:29
dispenso
priority.h
Generated by
1.9.8