Expand description
Synchronization primitives (the stable part of pragma_sync).
Structs§
- Atomic
Counter - A counter of unfinished tasks that can be waited on until it reaches zero.
- Count
Latch - A count-down latch:
waitblocks until the counter reaches zero. - Task
Label - A task label (see
current_label).
Enums§
- Sync
Error - Errors of the synchronization primitives.
Functions§
- current_
label - Passes to
fthe label of the task currently running on this thread (None: no labels).