Module remutex

Source

Structs§

MappedReentrantMutexGuard
An RAII mutex guard returned by ReentrantMutexGuard::map, which can point to a subfield of the protected data.
RawReentrantMutex
A raw mutex type that wraps another raw mutex to provide reentrancy.
ReentrantMutex
A mutex which can be recursively locked by a single thread.
ReentrantMutexGuard
An RAII implementation of a “scoped lock” of a reentrant mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.

Traits§

GetThreadId
Helper trait which returns a non-zero thread ID.