31 Oct
2005
31 Oct
'05
3:27 p.m.
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.