|
HLIBpro
2.1
|
Wraps OpenMP locks.
#include <TMutex.hh>
Public Member Functions | |
| TMutex () | |
| construct non-locked mutex | |
| ~TMutex () | |
| free OpenMP mutex (no unlock) | |
| void | lock () |
| lock mutex | |
| void | unlock () |
| unlock mutex | |
| bool | is_locked () |
| return true if mutex is locked, and false otherwise | |
| size_t | byte_size () const |
| return size in bytes used by this object | |
1.8.6