Boost logo

Boost Users :

Subject: Re: [Boost-users] [threads] calling unlock twice
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-17 14:38:41


AMDG

Ovanes Markarian wrote:
> Should that at least be asserted somehow, that calling subsequent
> unlock is not a good idea?
>

Is this insufficient?

http://tinyurl.com/r3pxa7

void unlock()

Precondition:

    The current thread owns *this.

In Christ,
Steven Watanabe


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