HLIBpro  1.2
Public Member Functions | List of all members
TLockable Class Reference

Base class for all mutex equipped classes.

#include <TMutex.hh>

Inheritance diagram for TLockable:
TMatrix TBlockMatrix TDenseMatrix TFacInvMatrix TFacMatrix TGhostMatrix TRkMatrix TSparseMatrix TUniformMatrix

Public Member Functions

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