HLIBpro  2.8.1
TScopedLock Class Reference

Provides automatic lock and unlock for mutices.

#include <TMutex.hh>

Inheritance diagram for TScopedLock:

Public Member Functions

 TScopedLock (TMutex &m)
 ctor: lock mutex
 
 TScopedLock (TLockable &m)
 ctor: lock lockable object