FRIBParallelanalysis  1.0
FrameworkforMPIParalleldataanalysisatFRIB
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CConditionAttributes Struct Reference

#include <CTCLConditionVariable.h>

Public Member Functions

void setShared ()
 
void setUnshared ()
 
bool isShared ()
 

Static Public Member Functions

static void throwifbad (int status, const char *msg)
 

Public Attributes

pthread_condattr_t m_attributes
 

Detailed Description

Direct encapsulation of a pthread condition variable attributes block. We are only going to define interfaces to the base level pthread attributes.

Member Function Documentation

◆ 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: