[Boost-users] Implementing lock/unlock with boost::thread