TaskPriority enum
Priority of a task.
- Use
#include <ThinkMeta.ConcurrentTasks/Core.h>- Namespace
ThinkMeta::ConcurrentTasks
Syntax
enum class TaskPriority : intRemarks
The Default scheduler keeps one queue pair per real priority; SchedulerKind::TaskSwap ignores priorities.
See also
Values
Default
Inherits the calling task's priority.
Syntax
DefaultRemarks
For ITaskScheduler::AddTask: the calling task's priority, or Normal when the caller is not a task. Not meaningful as a task's own priority.
Normal
High
Always taken before Normal work.
Syntax
HighRemarks
There is no aging: a steady stream of High work starves Normal tasks.
Generated from ThinkMeta.ConcurrentTasks.API @ 137ec1d (2026-10-17).