#include <Token_Invariants.h>
Public Methods | |
ACE_RWLock_Invariants (void) | |
Default construction. | |
int | writer_acquired (void) |
int | reader_acquired (void) |
void | releasing (void) |
Updates internal database. | |
ACE_RWLock_Invariants (const ACE_RWLock_Invariants &rhs) | |
Copy construction. | |
void | operator= (const ACE_RWLock_Invariants &rhs) |
Copy. | |
void | dump (void) const |
Dump the state of the class. | |
Private Attributes | |
int | writers_ |
Number of owning writers. | |
int | readers_ |
Number of owning readers. |
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.
|