HLIBpro  2.8.1
TLockable Class Reference

Base class for all mutex equipped classes.

#include <TMutex.hh>

Inheritance diagram for TLockable:
TMatrix TUpdateAccumulator TBlockMatrix TDenseMatrix TGhostMatrix TRkMatrix TSparseMatrix TUniformMatrix TZeroMatrix TH2Matrix THMatrix

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