From: Wayne Miller (wcm_at_[hidden])
Date: 2001-04-24 16:09:44
I'd like to propose this reader-writer lock as an addition to the boost
It supports the basic interface:
void lock() const;
void unlock() const;
Any number of threads are allowed into the critical section if the const
version of lock is used, but at most one thread is allowed into the critical
section if the non-const versions is called.
The lock is implemented as a template that takes two parameters, an object
type SEMAPHORE, and an object type MUTEX. These are trivial objects that
both must support the interface lock and unlock.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk