#include <Token_Invariants.h>
Public Methods | |
| ACE_RWLock_Invariants (void) | |
| Default construction. More... | |
| int | writer_acquired (void) |
| Returns 1 on success, 0 when an invariant has been violated and -1 on error. More... | |
| int | reader_acquired (void) |
| Returns 1 on success, 0 when an invariant has been violated and -1 on error. More... | |
| void | releasing (void) |
| Updates internal database. More... | |
| ACE_RWLock_Invariants (const ACE_RWLock_Invariants &rhs) | |
| Copy construction. More... | |
| void | operator= (const ACE_RWLock_Invariants &rhs) |
| Copy. More... | |
| void | dump (void) const |
| Dump the state of the class. More... | |
Private Attributes | |
| int | writers_ |
| Number of owning writers. More... | |
| int | readers_ |
| Number of owning readers. More... | |
Preserve the following invariants:
|
|
Default construction.
|
|
|
Copy construction.
|
|
|
Dump the state of the class.
|
|
|
Copy.
|
|
|
Returns 1 on success, 0 when an invariant has been violated and -1 on error.
|
|
|
Updates internal database.
|
|
|
Returns 1 on success, 0 when an invariant has been violated and -1 on error.
|
|
|
Number of owning readers.
|
|
|
Number of owning writers.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001