Boost logo

Boost :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2004-05-04 21:30:10


"Douglas Paul Gregor" <gregod_at_[hidden]> wrote in message
news:20040504154323.G29785_at_barbara.cs.rpi.edu...
> On Tue, 4 May 2004, Michael Glassford wrote:
> > I was planning to do this after I finished a couple of other
> > Boost.Thread tasks, but I can move up steps 1) and 2) if it's
really
> > in demand. Look for it later today or perhaps tomorrow.
>
> I'm interested, but it's not time-critical. Thanks.

I've checked these changes into the thread_dev branch (rw_lock.hpp,
rw_mutex.hpp, rw_mutex.cpp). Anyone who is interested please take a
look and comment.

Major changes (see change logs in the files themselves for additional
details):

* Add lock promotion and demotion.
* Rename to improve consistency and eliminate abbreviations:
     Use "read" and "write" instead of "shared" and "exclusive".
     Change "rd" to "read", "wr" to "write", "rw" to "read_write".
* Change try lock & timed lock constructor parameters for consistency.
* Add many assertions to test validity of mutex state and operations.

Things still to be done (any help with these tasks would be greatly
appreciated):

Update documentation
Update tests

Mike


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk