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

API reference / Synchronization

SuspensionKind enum

How many tasks may be suspended on one synchronization object at the same time.

Use
import ThinkMeta.ConcurrentTasks.Synchronization.SuspendableBase;
Namespace
ThinkMeta::ConcurrentTasks::Synchronization

Syntax

enum class SuspensionKind

Remarks

Every primitive comes in both variants: the plain name (SuspensionKind::Multiple) and the "_s" name (SuspensionKind::Single).

See also

SuspendableBase

Values

Single

At most one suspended task at a time.

Syntax

Single

Remarks

Asserted in Debug by the events. Cheaper, and the only variant that offers waits with a timeout.

Multiple

Any number of suspended tasks, up to 65535 at a time.

Syntax

Multiple

Remarks

Woken in LIFO order, no fairness. No timeouts.

Generated from ThinkMeta.ConcurrentTasks.API @ 137ec1d (2026-10-17).