|Copyright||(c) The University of Glasgow 2001|
|License||BSD-style (see the file libraries/base/LICENSE)|
Quantity semaphores in which each thread may wait for an arbitrary "amount".
bracket_ (waitQSemN n) (signalQSemN n) (...)
is safe; it never loses any of the resource.
Build a new
QSemN with a supplied initial quantity. The initial quantity must be at least 0.
Wait for the specified quantity to become available
Signal that a given quantity is now available from the
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).