Boost logo

Boost Users :

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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net