20 #ifndef _OSL_CONDITN_HXX_
21 #define _OSL_CONDITN_HXX_
Definition: conditn.hxx:41
sal_Bool check()
Checks if the condition is set without blocking.
Definition: conditn.hxx:80
Result wait(const TimeValue *pTimeout=0)
Blocks the calling thread until condition is set.
Definition: conditn.hxx:73
SAL_DLLPUBLIC oslCondition osl_createCondition(void)
Creates a condition.
~Condition()
Definition: conditn.hxx:53
Definition: conditn.hxx:39
SAL_DLLPUBLIC void osl_destroyCondition(oslCondition Condition)
Free the memory used by the condition.
Condition()
Definition: conditn.hxx:46
Result
Definition: conditn.hxx:37
void reset()
Definition: conditn.hxx:67
SAL_DLLPUBLIC oslConditionResult osl_waitCondition(oslCondition Condition, const TimeValue *pTimeout)
Blocks if condition is not set If condition has been destroyed prematurely, wait() will return with ...
unsigned char sal_Bool
Definition: types.h:37
Definition: conditn.hxx:33
SAL_DLLPUBLIC sal_Bool osl_setCondition(oslCondition Condition)
Sets condition to True => wait() will not block, check() returns True.
void set()
Definition: conditn.hxx:60
Definition: conditn.hxx:40
void * oslCondition
Definition: conditn.h:33
SAL_DLLPUBLIC sal_Bool osl_checkCondition(oslCondition Condition)
Queries the state of the condition without blocking.
SAL_DLLPUBLIC sal_Bool osl_resetCondition(oslCondition Condition)
Sets condition to False => wait() will block, check() returns False.