SST/macro
|
#include <thread_lock.h>
Public Member Functions | |
mutex_thread_lock () | |
~mutex_thread_lock () | |
void | lock () |
void | unlock () |
bool | trylock () |
bool | locked () const |
Private Attributes | |
pthread_mutex_t | mutex_ |
bool | locked_ |
Definition at line 13 of file thread_lock.h.
sstmac::mutex_thread_lock::mutex_thread_lock | ( | ) |
sstmac::mutex_thread_lock::~mutex_thread_lock | ( | ) |
void sstmac::mutex_thread_lock::lock | ( | ) |
|
inline |
Definition at line 27 of file thread_lock.h.
References locked_.
bool sstmac::mutex_thread_lock::trylock | ( | ) |
void sstmac::mutex_thread_lock::unlock | ( | ) |
|
private |
Definition at line 34 of file thread_lock.h.
Referenced by locked().
|
private |
Definition at line 32 of file thread_lock.h.