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 SuspensionKindRemarks
Every primitive comes in both variants: the plain name (SuspensionKind::Multiple) and the "_s" name (SuspensionKind::Single).
See also
Values
Single
At most one suspended task at a time.
Syntax
SingleRemarks
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
MultipleRemarks
Woken in LIFO order, no fairness. No timeouts.
Generated from ThinkMeta.ConcurrentTasks.API @ 137ec1d (2026-10-17).