Boost logo

Boost Users :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2005-03-29 20:42:05


Michael Glassford wrote:
> Gordon Smith wrote:
>
>> The following code seems to deadlock on the second (read) scoped lock
>> (not
>> what I would expect):

[snip]

> There are some definite problems with read_write_mutex in the 1.31
> release and this is one of them. Unfortunately the unit tests were quite
> lacking and didn't catch a bug as simple as this.

This fix is now checked in, as well as expanded unit tests. As I
indicated before, I'm not very happy with the read/write mutex (it's too
too complex--and therefore error-prone--and takes up more memory than I
would like). The design should be redone when the new interface is
implemented.

Mike


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net