From: Fred Y. <fr...@on...> - 2001-03-28 17:45:49
|
David, Thank you for considering this problem. I look forward to getting an updated VPython that fixes the problem without requiring my hack. On Wed, Mar 28, 2001 at 11:52:04AM -0500, David Scherer wrote: > This is fairly embarrassing, and also rather puzzling - why is it working > for everyone except Fred? Such situations no longer surprise me. ;-) > Maybe you are unaware of the syntactic trick being used to implement the > locks? Each lock is removed when it goes out of scope (roughly, when you > hit a } in the code ): I thought that might be the case, but I wasn't sure if C++ guaranteed that behavior -- calling the destructor at exactly the end of the block -- and I didn't completely trust the compiler in any case. -- Fred Yankowski fr...@On... tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA |