Module remutex

Source

Structs§

RawThreadId
Implementation of the GetThreadId trait for lock_api::ReentrantMutex.

Functions§

const_reentrant_mutex
Creates a new reentrant mutex in an unlocked state ready for use.

Type Aliases§

MappedReentrantMutexGuard
An RAII mutex guard returned by ReentrantMutexGuard::map, which can point to a subfield of the protected data.
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.