20 #ifndef INCLUDED_OSL_CONDITN_HXX 21 #define INCLUDED_OSL_CONDITN_HXX 31 #if defined(MACOSX) && defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) 32 # if __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES == 1 101 #if defined LIBO_INTERNAL_ONLY 132 #endif // INCLUDED_OSL_CONDITN_HXX SAL_DLLPUBLIC sal_Bool osl_setCondition(oslCondition Condition)
Sets condition to True => wait() will not block, check() returns True.
Result
Definition: conditn.hxx:56
Definition: conditn.hxx:58
Definition: conditn.hxx:59
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 F...
void * oslCondition
Definition: conditn.h:32
Condition()
Create a condition.
Definition: conditn.hxx:69
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition: types.h:392
void reset()
Definition: conditn.hxx:90
SAL_DLLPUBLIC sal_Bool osl_resetCondition(oslCondition Condition)
Sets condition to False => wait() will block, check() returns False.
SAL_DLLPUBLIC void osl_destroyCondition(oslCondition Condition)
Free the memory used by the condition.
bool check()
Checks if the condition is set without blocking.
Definition: conditn.hxx:107
SAL_DLLPUBLIC oslCondition osl_createCondition(void)
Creates a condition.
Definition: conditn.hxx:60
Definition: conditn.hxx:37
Result wait(const TimeValue *pTimeout=NULL)
Blocks the calling thread until condition is set.
Definition: conditn.hxx:96
~Condition()
Definition: conditn.hxx:76
A deprecated condition.
Definition: conditn.hxx:52
SAL_DLLPUBLIC sal_Bool osl_checkCondition(oslCondition Condition)
Queries the state of the condition without blocking.