Lines Matching refs:fFlags

92     return RTSemEventCreateEx(phEventSem, 0 /*fFlags*/, NIL_RTLOCKVALCLASS, NULL);
96 RTDECL(int) RTSemEventCreateEx(PRTSEMEVENT phEventSem, uint32_t fFlags, RTLOCKVALCLASS hClass, const char *pszNameFmt, ...)
99 AssertReturn(!(fFlags & ~(RTSEMEVENT_FLAGS_NO_LOCK_VAL | RTSEMEVENT_FLAGS_BOOTSTRAP_HACK)), VERR_INVALID_PARAMETER);
100 Assert(!(fFlags & RTSEMEVENT_FLAGS_BOOTSTRAP_HACK) || (fFlags & RTSEMEVENT_FLAGS_NO_LOCK_VAL));
229 * @param fFlags See RTSemEventWaitEx.
233 static int rtR0SemEventDarwinWait(PRTSEMEVENTINTERNAL pThis, uint32_t fFlags, uint64_t uTimeout,
241 AssertReturn(RTSEMWAIT_FLAGS_ARE_VALID(fFlags), VERR_INVALID_PARAMETER);
259 if (!(fFlags & RTSEMWAIT_FLAGS_INDEFINITE))
261 if (fFlags & RTSEMWAIT_FLAGS_MILLISECS)
266 fFlags |= RTSEMWAIT_FLAGS_INDEFINITE;
270 if (fFlags & RTSEMWAIT_FLAGS_RELATIVE)
277 fFlags |= RTSEMWAIT_FLAGS_INDEFINITE;
289 if ( !(fFlags & RTSEMWAIT_FLAGS_INDEFINITE)
310 wait_interrupt_t fInterruptible = fFlags & RTSEMWAIT_FLAGS_INTERRUPTIBLE ? THREAD_ABORTSAFE : THREAD_UNINT;
312 if (fFlags & RTSEMWAIT_FLAGS_INDEFINITE)
332 else if (fFlags & RTSEMWAIT_FLAGS_INTERRUPTIBLE)
339 Assert(!(fFlags & RTSEMWAIT_FLAGS_INDEFINITE));
374 RTDECL(int) RTSemEventWaitEx(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout)
377 return rtR0SemEventDarwinWait(hEventSem, fFlags, uTimeout, NULL);
380 return rtR0SemEventDarwinWait(hEventSem, fFlags, uTimeout, &SrcPos);
385 RTDECL(int) RTSemEventWaitExDebug(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout,
389 return rtR0SemEventDarwinWait(hEventSem, fFlags, uTimeout, &SrcPos);