HLIBpro  2.2
Public Member Functions | List of all members
TScopedLock Class Reference

Provides automatic lock and unlock for mutices.

#include <TMutex.hh>

Inherits scoped_lock.

Public Member Functions

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