Preliminary. ThinkMeta ConcurrentTasks and this documentation are preliminary; everything is subject to change.

API reference / Core

YieldFlags enum

Selects how YieldTask gives up the processor.

Use
#include <ThinkMeta.ConcurrentTasks/Core.h>
Namespace
ThinkMeta::ConcurrentTasks

Syntax

enum class YieldFlags

Remarks

Default scheduler only; SchedulerKind::TaskSwap and converted threads ignore the flag.

Values

Default

Lets the next runnable task run.

Syntax

Default

Remarks

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

HigherPriority

Remarks

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).