Boost logo

Boost :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2005-04-30 07:51:29


Matt Hurd wrote:
>>Howard Hinnant <hinnant_at_[hidden]> wrote:
>>
>>>On Apr 28, 2005, at 9:31 PM, Michael Glassford wrote:
>>
>>>What happens when you request a shared lock from a non-shared mutex?
>>>It just gives you an exclusive lock?
>>
>>Imho, a compile time error.
>
>
> I disagree, which suggests perhaps it should be configurable to make
> us both happy.

I can see both sides of the argument being supported by numbers of
people, so perhaps this would be a good solution. It would fit with my
strategy of trying to add more configurability.

  Mike


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