core.sync

Provides thread synchronization tools such as mutexes, semaphores and barriers.

Modules

barrier
module core.sync.barrier

The barrier module provides a primitive for synchronizing the progress of a group of threads.

condition
module core.sync.condition

The condition module provides a primitive for synchronized condition checking.

config
module core.sync.config

The config module contains utility routines and configuration information specific to this package.

event
module core.sync.event

The event module provides a primitive for lightweight signaling of other threads (emulating Windows events on Posix)

exception
module core.sync.exception

Define base class for synchronization exceptions.

mutex
module core.sync.mutex

The mutex module provides a primitive for maintaining mutually exclusive access.

rwmutex
module core.sync.rwmutex

The read/write mutex module provides a primitive for maintaining shared read access and mutually exclusive write access.

semaphore
module core.sync.semaphore

The semaphore module provides a general use semaphore for synchronization.

Public Imports

core.sync.barrier
public import core.sync.barrier;
Undocumented in source.
core.sync.condition
public import core.sync.condition;
Undocumented in source.
core.sync.config
public import core.sync.config;
Undocumented in source.
core.sync.event
public import core.sync.event;
Undocumented in source.
core.sync.exception
public import core.sync.exception;
Undocumented in source.
core.sync.mutex
public import core.sync.mutex;
Undocumented in source.
core.sync.rwmutex
public import core.sync.rwmutex;
Undocumented in source.
core.sync.semaphore
public import core.sync.semaphore;
Undocumented in source.

Meta

License

Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)

Authors

Sean Kelly, Rainer Schuetze