ETL
0.04.19
|
#include <_rwlock.h>
Classes | |
class | read_lock |
Exception-safe read-lock class. More... | |
class | write_lock |
Exception-safe write-lock class. More... |
Public Member Functions | |
read_write_lock () | |
~read_write_lock () | |
void | lock_read (void) |
void | lock_write (void) |
bool | try_lock_read (void) |
bool | try_lock_write (void) |
void | unlock_write (void) |
void | unlock_read (void) |
Additional Inherited Members | |
Private Member Functions inherited from Mutex | |
Mutex () | |
~Mutex () | |
void | Lock (void) |
bool | TryLock (void) |
void | UnLock (void) |
======================================================================== Extended Template and Library Mutex Abstraction Class Implementation $Id$
Copyright (c) 2002 Robert B. Quattlebaum Jr.
This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
=== N O T E S ===========================================================
This is an internal header file, included by other ETL headers. You should not attempt to use it directly.
|
inline |
Definition at line 68 of file _rwlock.h.
Referenced by read_write_lock::read_lock::read_lock().
|
inline |
Definition at line 71 of file _rwlock.h.
Referenced by read_write_lock::write_lock::write_lock().
|
inline |
Definition at line 80 of file _rwlock.h.
Referenced by read_write_lock::write_lock::~read_lock().
|
inline |
Definition at line 83 of file _rwlock.h.
Referenced by read_write_lock::read_lock::~read_lock().