RE: [boost] Re: Lock unification [move]

23 Jul
2004
23 Jul
'04
12:16 a.m.
Batov, Vladimir wrote:
How 'bout
scoped_lock lk1(m, defer); scoped_lock lk2(m, try);
"try" is a keyword, last I checked. ;-)
[Batov, Vladimir] Oh, my goodness. Of course, it is. LOL. Looks like I have not woken up yet. Then, I guess, I am leaning towards Howard's original scoped_lock lk1(m, defer_lock); scoped_lock lk2(m, try_lock); Minor repetition issue aside, it looks like the clearest, simplest and most consistent choice.
7627
Age (days ago)
7627
Last active (days ago)
0 comments
1 participants
participants (1)
-
Batov, Vladimir