Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-07-22 18:22:48


Matt Hurd wrote:
>
> On Fri, 23 Jul 2004 08:31:18 +1000, Batov, Vladimir
> <vladimir.batov_at_[hidden]> wrote:
> > How 'bout
> >
> > scoped_lock lk1(m, defer);
> > scoped_lock lk2(m, try);
>
> no comment except that perhaps scoped_lock can be dropped for just
> lock. scoped_lock seems so twentieth century ;-)

Yeah. And I'm sick and tired of all these "lock" verbs and nouns.

guard g1(m, disengaged);
guard g2(m, try_engage);

Oder? ;-)

regards,
alexander.


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