AcsBulkdata::Pthread::Mutex − |
Functions |
void init (pthread_mutex_t &m, const bool recursive) |
bool lock (const char *desc, pthread_mutex_t &m, const ACS::TimeInterval &to, bool logTimeout=false) |
bool unlock (const char *desc, pthread_mutex_t &m) |
bool unlock (pthread_mutex_t &m) |
Mutex functions. |
void AcsBulkdata::Pthread::Mutex::init (pthread_mutex_t & m, const bool recursive) Initialize given mutex as recursive or not recursive. |
bool AcsBulkdata::Pthread::Mutex::lock (const char * desc, pthread_mutex_t & m, const ACS::TimeInterval & to, bool logTimeout = false) Helper class to block on a pthread mutex for a given time. |
Parameters: |
desc description of the mutex to add context to
eventual error logs. |
bool AcsBulkdata::Pthread::Mutex::unlock (const char * desc, pthread_mutex_t & m) Helper class to unlock a pthread mutex. |
Parameters: |
desc description of the mutex to add context to
eventual error logs. |
bool AcsBulkdata::Pthread::Mutex::unlock (pthread_mutex_t & m) Helper class to unlock a pthread mutex. |
Parameters: |
m pointer to pthread mutex. |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |