Methods of Class Condition
-
Condition
- Condition();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Constructs a condition object.
- Description
The initial state of the condition is false/unset.
- See Also
- ::osl_createCondition()
-
~Condition
- ~Condition();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Release the OS-structures and free condition data-structure.
- See Also
- ::osl_destroyCondition()
-
set
- void set();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Release all waiting threads, check() returns sal_True.
- See Also
- ::osl_setCondition()
-
reset
- void reset();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Reset condition to false: wait() will block, check() returns sal_False.
- See Also
- ::osl_resetCondition()
-
wait
- Result wait(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Blocks the calling thread until condition is set.
- See Also
- ::osl_waitCondition()
-
check
- sal_Bool check();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Checks if the condition is set without blocking.
- See Also
- ::osl_checkCondition()
-
Condition
- Condition(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
Top of Page
Copyright © 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.