ACE
6.4.2
|
Mutex Invariants = INVARIANTS. More...
#include <Token_Invariants.h>
Public Member Functions | |
ACE_Mutex_Invariants (void) | |
Default construction. More... | |
int | acquired (void) |
void | releasing (void) |
Updates internal database. More... | |
ACE_Mutex_Invariants (const ACE_Mutex_Invariants &rhs) | |
Copy construction. More... | |
void | operator= (const ACE_Mutex_Invariants &rhs) |
Copy. More... | |
void | dump (void) const |
Dump the state of the class. More... | |
Private Attributes | |
int | owners_ |
Number of owners. This had better be 0 >= owners_ <= 1;. More... | |
Mutex Invariants = INVARIANTS.
ACE_Mutex_Invariants::ACE_Mutex_Invariants | ( | void | ) |
Default construction.
ACE_Mutex_Invariants::ACE_Mutex_Invariants | ( | const ACE_Mutex_Invariants & | rhs | ) |
Copy construction.
int ACE_Mutex_Invariants::acquired | ( | void | ) |
Returns 1 on success, 0 when an invariant has been violated and -1 on error.
void ACE_Mutex_Invariants::dump | ( | void | ) | const |
Dump the state of the class.
void ACE_Mutex_Invariants::operator= | ( | const ACE_Mutex_Invariants & | rhs | ) |
Copy.
void ACE_Mutex_Invariants::releasing | ( | void | ) |
Updates internal database.
|
private |
Number of owners. This had better be 0 >= owners_ <= 1;.