Lines Matching refs:Condition
40 oslCondition Condition; in osl_createCondition() local
42 Condition= (oslCondition)CreateEvent(0, /* no security */ in osl_createCondition()
47 return Condition; in osl_createCondition()
54 void SAL_CALL osl_destroyCondition(oslCondition Condition) in osl_destroyCondition() argument
56 if(Condition) in osl_destroyCondition()
58 OSL_VERIFY(CloseHandle(Condition)); in osl_destroyCondition()
65 sal_Bool SAL_CALL osl_setCondition(oslCondition Condition) in osl_setCondition() argument
67 OSL_ASSERT(Condition); in osl_setCondition()
69 return (sal_Bool)(SetEvent((HANDLE)Condition) != FALSE); in osl_setCondition()
75 sal_Bool SAL_CALL osl_resetCondition(oslCondition Condition) in osl_resetCondition() argument
77 OSL_ASSERT(Condition); in osl_resetCondition()
79 return (sal_Bool)(ResetEvent((HANDLE)Condition) != FALSE); in osl_resetCondition()
85 oslConditionResult SAL_CALL osl_waitCondition(oslCondition Condition, in osl_waitCondition() argument
90 OSL_ASSERT(Condition); in osl_waitCondition()
103 … switch( MsgWaitForMultipleObjects( 1, (HANDLE *)(&Condition), FALSE, timeout, QS_SENDMESSAGE ) ) in osl_waitCondition()
131 sal_Bool SAL_CALL osl_checkCondition(oslCondition Condition) in osl_checkCondition() argument
133 OSL_ASSERT(Condition); in osl_checkCondition()
135 return (sal_Bool)(WaitForSingleObject((HANDLE)Condition, 0) == WAIT_OBJECT_0); in osl_checkCondition()