Lines Matching refs:Condition
60 void SAL_CALL osl_destroyCondition(oslCondition Condition) in osl_destroyCondition() argument
62 if( Condition ) in osl_destroyCondition()
63 DosCloseEventSem( (HEV) Condition ); in osl_destroyCondition()
69 sal_Bool SAL_CALL osl_setCondition(oslCondition Condition) in osl_setCondition() argument
71 OSL_ASSERT(Condition); in osl_setCondition()
73 return DosPostEventSem((HEV)Condition) == NO_ERROR; in osl_setCondition()
79 sal_Bool SAL_CALL osl_resetCondition(oslCondition Condition) in osl_resetCondition() argument
83 OSL_ASSERT(Condition); in osl_resetCondition()
85 return DosResetEventSem((HEV)Condition, &ulPostCount) == NO_ERROR; in osl_resetCondition()
91 oslConditionResult SAL_CALL osl_waitCondition(oslCondition Condition, const TimeValue * pTimeout ) in osl_waitCondition() argument
95 OSL_ASSERT(Condition); in osl_waitCondition()
102 rc = DosWaitEventSem((HEV)Condition, nTimeout ); in osl_waitCondition()
114 sal_Bool SAL_CALL osl_checkCondition(oslCondition Condition) in osl_checkCondition() argument
116 OSL_ASSERT(Condition); in osl_checkCondition()
118 return( DosWaitEventSem((HEV)Condition, SEM_IMMEDIATE_RETURN) == NO_ERROR); in osl_checkCondition()