threadmm::posix::rwlock Class Reference
[POSIX threads backend classes]

#include <threadmm/rwlock.hh>

List of all members.


Detailed Description

POSIX reader/writer lock backend.

See also:
threadmm::basic_rwlock


Public Member Functions

 rwlock (int flags, bool shared=false)
virtual ~rwlock ()
int kind () const
bool shared () const
bool lock4read (struct timespec *timed=0)
bool try_lock4read ()
bool lock4write (struct timespec *timed=0)
bool try_lock4write ()
bool unlock ()


Constructor & Destructor Documentation

threadmm::posix::rwlock::rwlock int  flags,
bool  shared = false
[inline]
 

threadmm::posix::rwlock::~rwlock  )  [inline, virtual]
 


Member Function Documentation

int threadmm::posix::rwlock::kind  )  const [inline]
 

bool threadmm::posix::rwlock::lock4read struct timespec *  timed = 0  )  [inline]
 

bool threadmm::posix::rwlock::lock4write struct timespec *  timed = 0  )  [inline]
 

bool threadmm::posix::rwlock::shared  )  const [inline]
 

bool threadmm::posix::rwlock::try_lock4read  )  [inline]
 

bool threadmm::posix::rwlock::try_lock4write  )  [inline]
 

bool threadmm::posix::rwlock::unlock  )  [inline]
 


The documentation for this class was generated from the following file:
Top of page
Last update Tue Nov 9 12:40:51 2004
Christian Holm
Created by DoxyGen 1.3.9.1