tango.core.sync.Semaphore

The semaphore module provides a general use semaphore for synchronization.

Members

Classes

Semaphore
class Semaphore

This class represents a general counting semaphore as concieved by Edsger Dijkstra. As per Mesa type monitors however, "signal" has been replaced with "notify" to indicate that control is not transferred to the waiter when a notification is sent.

SyncException (from tango.core.Exception)
class SyncException via public import tango.core.Exception : SyncException;

Base class for synchronization exceptions.

Functions

testWait
void testWait()

///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

testWaitTimeout
void testWaitTimeout()

///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

Meta

License

BSD style: $(LICENSE)

Authors

Sean Kelly