#include <CTCLConditionVariable.h>
|
static void | throwifbad (int status, const char *msg) |
|
|
pthread_condattr_t | m_attributes |
|
Direct encapsulation of a pthread condition variable attributes block. We are only going to define interfaces to the base level pthread attributes.
◆ isShared()
bool CConditionAttributes::isShared |
( |
| ) |
|
- Returns
- bool
- Return values
-
true | - the attributes have PTHREAD_PROCESS_SHARED set. |
false | |
◆ setShared()
void CConditionAttributes::setShared |
( |
| ) |
|
Set the condition variable to be sharable across processes (if located in shared memory).
◆ setUnshared()
void CConditionAttributes::setUnshared |
( |
| ) |
|
Set the condition variable to be only usable to synchronize threads within this process.
The documentation for this struct was generated from the following files: