24 #ifndef INCLUDED_OSL_CONDITN_HXX 25 #define INCLUDED_OSL_CONDITN_HXX 34 #if defined(MACOSX) && defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) 35 # if __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES == 1 126 #if defined LIBO_INTERNAL_ONLY 170 #endif // INCLUDED_OSL_CONDITN_HXX SAL_DLLPUBLIC sal_Bool osl_resetCondition(oslCondition Condition)
Sets condition to False => wait() will block, check() returns False.
Definition: condition.hxx:31
Result
Definition: conditn.hxx:62
void * oslCondition
Definition: conditn.h:36
Condition variable.
Definition: conditn.hxx:59
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition: types.h:378
SAL_DLLPUBLIC void osl_destroyCondition(oslCondition Condition)
Free the memory used by the condition.
Definition: conditn.hxx:65
Definition: conditn.hxx:66
~Condition()
Release the OS-structures and free condition data-structure.
Definition: conditn.hxx:84
SAL_DLLPUBLIC oslConditionResult osl_waitCondition(oslCondition Condition, const TimeValue *pTimeout)
Blocks if condition is not set.
bool check()
Checks if the condition is set without blocking.
Definition: conditn.hxx:138
SAL_DLLPUBLIC oslCondition osl_createCondition(void)
Creates a condition.
Result wait(const TimeValue *pTimeout=NULL)
Blocks the calling thread until condition is set.
Definition: conditn.hxx:121
Time since Jan-01-1970.
Definition: time.h:76
void reset()
Reset condition to false: wait() will block, check() returns false.
Definition: conditn.hxx:105
SAL_DLLPUBLIC sal_Bool osl_checkCondition(oslCondition Condition)
Queries the state of the condition without blocking.
SAL_DLLPUBLIC sal_Bool osl_setCondition(oslCondition Condition)
Sets condition to True => wait() will not block, check() returns True.
Condition()
Create a condition.
Definition: conditn.hxx:74
Definition: conditn.hxx:64