|Copyright||(c) The University of Glasgow 2001|
|License||BSD-style (see the file libraries/base/LICENSE)|
Simple quantity semaphores.
bracket_ waitQSem signalQSem (...)
is safe; it never loses a unit of the resource.
Build a new
QSem with a supplied initial quantity. The initial quantity must be at least 0.
Wait for a unit to become available
Signal that a unit of the
QSem is available
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).