HLIBpro  3.0
TLockable Class Reference

Base class for all mutex equipped classes.

#include <TMutex.hh>

Inheritance diagram for TLockable:
TMatrix< T_value > TUpdateAccumulator< value_t > TSparseMatrix< value_t > TBlockMatrix< T_value > TDenseMatrix< T_value > TGhostMatrix< T_value > TRkMatrix< T_value > TSparseMatrix< T_value > TUniformMatrix< T_value > TZeroMatrix< T_value >

Public Member Functions

TMutexmutex ()
 give access to internal mutex
 
void lock ()
 lock local mutex
 
void unlock ()
 unlock local mutex
 
size_t byte_size () const
 return size in bytes used by this object