Beamlib  3.0.1
This is the Beam C++ class library.
Public Member Functions | List of all members
BRWLock Class Reference

Thread read-write lock. More...

#include <BRWLock.h>

Public Member Functions

 BRWLock ()
 
 BRWLock (const BRWLock &rwlock)
 
 ~BRWLock ()
 
int rdLock ()
 Set lock, wait if necessary. More...
 
int tryRdLock ()
 Test the lock. More...
 
int wrLock ()
 Set lock, wait if necessary. More...
 
int tryWrLock ()
 Test the lock. More...
 
int unlock ()
 Unlock the lock. More...
 
BRWLockoperator= (const BRWLock &rwlock)
 

Detailed Description

Thread read-write lock.

Constructor & Destructor Documentation

◆ BRWLock() [1/2]

BRWLock::BRWLock ( )

◆ BRWLock() [2/2]

BRWLock::BRWLock ( const BRWLock rwlock)

◆ ~BRWLock()

BRWLock::~BRWLock ( )

Member Function Documentation

◆ rdLock()

int BRWLock::rdLock ( )

Set lock, wait if necessary.

◆ tryRdLock()

int BRWLock::tryRdLock ( )

Test the lock.

◆ wrLock()

int BRWLock::wrLock ( )

Set lock, wait if necessary.

◆ tryWrLock()

int BRWLock::tryWrLock ( )

Test the lock.

◆ unlock()

int BRWLock::unlock ( )

Unlock the lock.

◆ operator=()

BRWLock & BRWLock::operator= ( const BRWLock rwlock)

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