Module lrs::sync

Multi-threaded communication and synchronization.

Types

KindNameDescription
Struct Condvar

A condition variable to wait on mutexes.

Struct Lock

A lock.

Struct LockGuard

A lock-guard.

Struct Mutex

A mutex protecting some data.

Struct MutexGuard

A mutex-guard.

Struct Queue

A multi-threaded queue.

Struct RawCondvar

A condition variable to wait on locks.

Constants

NameDescription
CONDVAR_INIT
LOCK_INIT
RAW_CONDVAR_INIT

An initializer for static condition variables.

Statics

NameDescription
DUMMY