c++ Programming Glossary: csomeclass
Designing a thread-safe copyable class http://stackoverflow.com/questions/5070161/designing-a-thread-safe-copyable-class in the accessor methods class cMyClass boost mutex myMutex cSomeClass A public cSomeClass getA boost mutex scoped_lock lock myMutex.. class cMyClass boost mutex myMutex cSomeClass A public cSomeClass getA boost mutex scoped_lock lock myMutex return A The problem.. awkward details. class cMyClass static boost mutex myMutex cSomeClass A public cSomeClass getA boost mutex scoped_lock lock myMutex..
|