
22 Jul
2004
22 Jul
'04
11:48 a.m.
Glen Knowles wrote:
From: Howard Hinnant [mailto:hinnant@twcny.rr.com]
I mostly agree with Bronek Kozicki. Given a movable lock, Eric Niebler's proposal:
scoped_lock try_lock( Mutex & m ); scoped_lock timed_lock( Mutex & m );
is a better try/timed interface. Heisenberg constructors must die.
Sorry, I don't know what a Heisenberg constructor is.
It's a reference to the Heisenberg uncertainty principle.
It's an indication that I can't tell Shroedinger's cat from Heisenberg's principle. ;-)