20 #ifndef INCLUDED_OSL_CONDITN_HXX 21 #define INCLUDED_OSL_CONDITN_HXX 87 #if defined LIBO_INTERNAL_ONLY 118 #endif // INCLUDED_OSL_CONDITN_HXX bool check()
Checks if the condition is set without blocking.
Definition: conditn.hxx:93
void reset()
Definition: conditn.hxx:76
SAL_DLLPUBLIC sal_Bool osl_resetCondition(oslCondition Condition)
Sets condition to False => wait() will block, check() returns False.
Definition: conditn.hxx:49
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition: types.h:408
SAL_DLLPUBLIC oslCondition osl_createCondition(void)
Creates a condition.
SAL_DLLPUBLIC sal_Bool osl_checkCondition(oslCondition Condition)
Queries the state of the condition without blocking.
void * oslCondition
Definition: conditn.h:33
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 ...
Warning: the Condition abstraction is inadequate for any situation where there may be multiple thread...
Definition: conditn.hxx:42
Definition: conditn.hxx:50
~Condition()
Definition: conditn.hxx:62
SAL_DLLPUBLIC sal_Bool osl_setCondition(oslCondition Condition)
Sets condition to True => wait() will not block, check() returns True.
Definition: conditn.hxx:48
Result wait(const TimeValue *pTimeout=NULL)
Blocks the calling thread until condition is set.
Definition: conditn.hxx:82
Condition()
Definition: conditn.hxx:55
Result
Definition: conditn.hxx:46
Definition: conditn.hxx:32
SAL_DLLPUBLIC void osl_destroyCondition(oslCondition Condition)
Free the memory used by the condition.