pub struct Priority(/* private fields */);
Expand description
This enum type indicates how the operating system should schedule newly created threads.
C++ enum: QThread::Priority
.
This enum type indicates how the operating system should schedule newly created threads.
Implementations§
source§impl Priority
impl Priority
sourcepub const IdlePriority: Priority = _
pub const IdlePriority: Priority = _
scheduled only when no other threads are running. (C++ enum variant: IdlePriority = 0
)
sourcepub const LowestPriority: Priority = _
pub const LowestPriority: Priority = _
scheduled less often than LowPriority. (C++ enum variant: LowestPriority = 1
)
sourcepub const LowPriority: Priority = _
pub const LowPriority: Priority = _
scheduled less often than NormalPriority. (C++ enum variant: LowPriority = 2
)
sourcepub const NormalPriority: Priority = _
pub const NormalPriority: Priority = _
the default priority of the operating system. (C++ enum variant: NormalPriority = 3
)
sourcepub const HighPriority: Priority = _
pub const HighPriority: Priority = _
scheduled more often than NormalPriority. (C++ enum variant: HighPriority = 4
)
sourcepub const HighestPriority: Priority = _
pub const HighestPriority: Priority = _
scheduled more often than HighPriority. (C++ enum variant: HighestPriority = 5
)
sourcepub const TimeCriticalPriority: Priority = _
pub const TimeCriticalPriority: Priority = _
scheduled as often as possible. (C++ enum variant: TimeCriticalPriority = 6
)
sourcepub const InheritPriority: Priority = _
pub const InheritPriority: Priority = _
use the same priority as the creating thread. This is the default. (C++ enum variant: InheritPriority = 7
)