Lines Matching refs:fFlags
63 return RTSemEventCreateEx(phEventSem, 0 /*fFlags*/, NIL_RTLOCKVALCLASS, NULL);
67 RTDECL(int) RTSemEventCreateEx(PRTSEMEVENT phEventSem, uint32_t fFlags, RTLOCKVALCLASS hClass, const char *pszNameFmt, ...)
70 AssertReturn(!(fFlags & ~(RTSEMEVENT_FLAGS_NO_LOCK_VAL | RTSEMEVENT_FLAGS_BOOTSTRAP_HACK)), VERR_INVALID_PARAMETER);
71 Assert(!(fFlags & RTSEMEVENT_FLAGS_BOOTSTRAP_HACK) || (fFlags & RTSEMEVENT_FLAGS_NO_LOCK_VAL));
164 * @param fFlags See RTSemEventWaitEx.
168 static int rtR0SemEventWait(PRTSEMEVENTINTERNAL pThis, uint32_t fFlags, uint64_t uTimeout,
181 AssertReturn(RTSEMWAIT_FLAGS_ARE_VALID(fFlags), VERR_INVALID_PARAMETER);
183 if (fFlags & RTSEMWAIT_FLAGS_INDEFINITE)
187 if (fFlags & RTSEMWAIT_FLAGS_NANOSECS)
189 else if (fFlags & RTSEMWAIT_FLAGS_MILLISECS)
194 if (fFlags & RTSEMWAIT_FLAGS_RELATIVE)
196 else if (fFlags & RTSEMWAIT_FLAGS_ABSOLUTE)
202 if (fFlags & RTSEMWAIT_FLAGS_INTERRUPTIBLE)
238 RTDECL(int) RTSemEventWaitEx(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout)
241 return rtR0SemEventWait(hEventSem, fFlags, uTimeout, NULL);
244 return rtR0SemEventWait(hEventSem, fFlags, uTimeout, &SrcPos);
250 RTDECL(int) RTSemEventWaitExDebug(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout,
254 return rtR0SemEventWait(hEventSem, fFlags, uTimeout, &SrcPos);