Module sync

Source

Structs§

Scope
A dynamic fork-join scope.

Functions§

scope
Creates a new fork-join scope.

Type Aliases§

Lock
A mutual exclusion primitive useful for protecting shared data
MappedLockGuard
An RAII mutex guard returned by MutexGuard::map, which can point to a subfield of the protected data.
MappedReadGuard
An RAII read lock guard returned by RwLockReadGuard::map, which can point to a subfield of the protected data.
MappedWriteGuard
An RAII write lock guard returned by RwLockWriteGuard::map, which can point to a subfield of the protected data.
ReadGuard
RAII structure used to release the shared read access of a lock when dropped.
RwLock
A reader-writer lock
WriteGuard
RAII structure used to release the exclusive write access of a lock when dropped.