YieldFlags enum
Selects how YieldTask gives up the processor.
- Use
#include <ThinkMeta.ConcurrentTasks/Core.h>- Namespace
ThinkMeta::ConcurrentTasks
Syntax
enum class YieldFlagsRemarks
Default scheduler only; SchedulerKind::TaskSwap and converted threads ignore the flag.
Values
Default
Lets the next runnable task run.
Syntax
DefaultRemarks
The task goes back to the end of its priority's queue; if nothing else is runnable, it runs again at once.
HigherPriority
Yields only to waiting TaskPriority::High work.
Syntax
HigherPriorityRemarks
If there is no High task or resumed High task context, or the caller is High itself, YieldTask returns at once.
Generated from ThinkMeta.ConcurrentTasks.API @ 137ec1d (2026-10-17).