From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2001-07-18 12:51:37


> Is your object to "lock" when used in a class name, or as a variable name
> where a lock is part of the mechanism guarding some code?

//boost::semaphore lock_;
//boost::spinlock lock_;
//boost::rwlock lock_;
boost::mutex lock_;
.
.
.
boost::mutex::xxx_means_scoped_acquire_release xxx( lock_ );

how would you name xxx ? definitely not 'lock' !

regards,
alexander.