[][src]Module loom::sync

Mock implementation of std::sync.

Modules

atomic

Mock implementation of std::sync::atomic.

Structs

Arc

Mock implementation of std::sync::Arc.

CausalCell

CausalCell ensures access to the inner value are valid under the Rust memory model.

CausalCheck

Deferred causal cell check

Condvar

Mock implementation of std::sync::Condvar.

Mutex

Mock implementation of std::sync::Mutex.

MutexGuard

Mock implementation of std::sync::MutexGuard.

Notify

Implements the park / unpark pattern directly using Loom's internal primitives.

WaitTimeoutResult

A type indicating whether a timed wait on a condition variable returned due to a time out or not.

Type Definitions

LockResult

A type alias for the result of a lock method which can be poisoned.

TryLockResult

A type alias for the result of a nonblocking locking method.