foobar2000 SDK  2015-08-03
Public Member Functions | Data Fields | Private Member Functions
pfc::readWriteLockAttr

#include <synchro_nix.h>

Public Member Functions

 readWriteLockAttr ()
 
 ~readWriteLockAttr ()
 
void setProcessShared (bool val=true)
 

Data Fields

pthread_rwlockattr_t attr
 

Private Member Functions

 readWriteLockAttr (const readWriteLockAttr &)
 
void operator= (const readWriteLockAttr &)
 

Detailed Description

Definition at line 74 of file synchro_nix.h.

Constructor & Destructor Documentation

pfc::readWriteLockAttr::readWriteLockAttr ( )
inline

Definition at line 76 of file synchro_nix.h.

76 {pthread_rwlockattr_init( & attr ); }
pthread_rwlockattr_t attr
Definition: synchro_nix.h:83
pfc::readWriteLockAttr::~readWriteLockAttr ( )
inline

Definition at line 77 of file synchro_nix.h.

77 {pthread_rwlockattr_destroy( & attr ) ;}
pthread_rwlockattr_t attr
Definition: synchro_nix.h:83
pfc::readWriteLockAttr::readWriteLockAttr ( const readWriteLockAttr )
private

Member Function Documentation

void pfc::readWriteLockAttr::operator= ( const readWriteLockAttr )
private
void pfc::readWriteLockAttr::setProcessShared ( bool  val = true)
inline

Definition at line 79 of file synchro_nix.h.

79  {
80  pthread_rwlockattr_setpshared( &attr, val ? PTHREAD_PROCESS_SHARED : PTHREAD_PROCESS_PRIVATE );
81  }
pthread_rwlockattr_t attr
Definition: synchro_nix.h:83

Field Documentation

pthread_rwlockattr_t pfc::readWriteLockAttr::attr

Definition at line 83 of file synchro_nix.h.


The documentation for this class was generated from the following file: