xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
threading
thread_priority.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../enum_attribute.hpp
"
6
#include "
../enum_collection.hpp
"
7
#include "
../enum_object.hpp
"
8
#include "
../enum_register.hpp
"
9
#include "
../enum_set_attribute.hpp
"
10
12
namespace
xtd
{
14
namespace
threading
{
28
enum class
thread_priority
{
30
lowest
= 0,
32
below_normal
= 1,
34
normal
= 2,
36
above_normal
= 3,
38
highest
= 4,
39
};
40
}
41
}
42
44
template
<>
struct
xtd::enum_register
<
xtd
::
threading::thread_priority
> {
45
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::threading::thread_priority>
{{
xtd::threading::thread_priority::lowest
,
"lowest"
}, {
xtd::threading::thread_priority::below_normal
,
"below_normal"
}, {
xtd::threading::thread_priority::normal
,
"normal"
}, {
xtd::threading::thread_priority::above_normal
,
"above_normal"
}, {
xtd::threading::thread_priority::highest
,
"highest"
}};}
46
};
enum_attribute.hpp
Contains xtd::enum_attribute enum class.
enum_collection.hpp
Contains xtd::enum_collection.
enum_object.hpp
Contains xtd::enum_object struct.
enum_register.hpp
Contains xtd::enum_register.
enum_set_attribute.hpp
Contains xtd::enum_set_attribute strcut.
xtd::threading::thread_priority
thread_priority
Specifies the scheduling priority of a system::threading::thread.
Definition
thread_priority.hpp:28
xtd::threading::thread_priority::lowest
@ lowest
The system::threading::thread can be scheduled after threads with any other priority.
Definition
thread_priority.hpp:30
xtd::threading::thread_priority::below_normal
@ below_normal
The system::threading::thread can be scheduled after threads with thread_priority::normal priority an...
Definition
thread_priority.hpp:32
xtd::threading::thread_priority::above_normal
@ above_normal
The system::threading::thread can be scheduled after threads with thread_priority::highest priority a...
Definition
thread_priority.hpp:36
xtd::threading::thread_priority::highest
@ highest
The system::threading::thread can be scheduled before threads with any other priority.
Definition
thread_priority.hpp:38
xtd::threading::thread_priority::normal
@ normal
The system::threading::thread can be scheduled after threads with thread_priority::above_normal prior...
Definition
thread_priority.hpp:34
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::threading
The xtd::threading namespace provides classes and interfaces that enable multithreaded programming....
Definition
abandoned_mutex_exception.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.