$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Ben Hutchings (ben.hutchings_at_[hidden])
Date: 2005-10-31 10:27:25
Johan Torp wrote:
>I'm trying to implement a class having a lock and an unlock-method.
>
>
Why?
>How can this be implemented? Is it better to expose the mutex?
>
>
The mutex should be accessible by the functions that manipulate the data
it is supposed to protect, but not by other functions.
Ben.