Searched defs:hSpinMtx (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Runtime/r3/generic/
H A Dsemspinmutex-r3-generic.cpp60 RTDECL(int) RTSemSpinMutexDestroy(RTSEMSPINMUTEX hSpinMtx) argument
62 if (hSpinMtx == NIL_RTSEMSPINMUTEX)
64 PRTCRITSECT pCritSect = (PRTCRITSECT)hSpinMtx;
73 RTDECL(int) RTSemSpinMutexTryRequest(RTSEMSPINMUTEX hSpinMtx) argument
75 return RTCritSectTryEnter((PRTCRITSECT)hSpinMtx);
81 RTDECL(int) RTSemSpinMutexRequest(RTSEMSPINMUTEX hSpinMtx) argument
83 return RTCritSectEnter((PRTCRITSECT)hSpinMtx);
88 RTDECL(int) RTSemSpinMutexRelease(RTSEMSPINMUTEX hSpinMtx) argument
90 return RTCritSectLeave((PRTCRITSECT)hSpinMtx);
/vbox/src/VBox/Runtime/r0drv/generic/
H A Dsemspinmutex-r0drv-generic.c271 RTDECL(int) RTSemSpinMutexTryRequest(RTSEMSPINMUTEX hSpinMtx) argument
273 RTSEMSPINMUTEXINTERNAL *pThis = hSpinMtx;
317 RTDECL(int) RTSemSpinMutexRequest(RTSEMSPINMUTEX hSpinMtx) argument
319 RTSEMSPINMUTEXINTERNAL *pThis = hSpinMtx;
442 RTDECL(int) RTSemSpinMutexRelease(RTSEMSPINMUTEX hSpinMtx) argument
444 RTSEMSPINMUTEXINTERNAL *pThis = hSpinMtx;
475 RTDECL(int) RTSemSpinMutexDestroy(RTSEMSPINMUTEX hSpinMtx) argument
481 if (hSpinMtx == NIL_RTSEMSPINMUTEX)
483 pThis = hSpinMtx;
/vbox/include/iprt/
H A Dsemaphore.h753 * @param hSpinMtx The semaphore handle. NIL_RTSEMSPINMUTEX is ignored
756 RTDECL(int) RTSemSpinMutexDestroy(RTSEMSPINMUTEX hSpinMtx); variable
777 * @param hSpinMtx The semaphore handle.
779 RTDECL(int) RTSemSpinMutexRequest(RTSEMSPINMUTEX hSpinMtx); variable
791 * @param hSpinMtx The semaphore handle.
793 RTDECL(int) RTSemSpinMutexTryRequest(RTSEMSPINMUTEX hSpinMtx); variable
804 * @param hSpinMtx The semaphore handle.
806 RTDECL(int) RTSemSpinMutexRelease(RTSEMSPINMUTEX hSpinMtx); variable
/vbox/src/VBox/Runtime/common/log/
H A Dlog.cpp123 RTSEMSPINMUTEX hSpinMtx; member in struct:RTLOGGERINTERNAL
384 if (pInt->hSpinMtx != NIL_RTSEMSPINMUTEX)
386 int rc = RTSemSpinMutexRequest(pInt->hSpinMtx);
404 if (pLogger->pInt->hSpinMtx != NIL_RTSEMSPINMUTEX)
405 RTSemSpinMutexRelease(pLogger->pInt->hSpinMtx);
473 Assert(pLogger->pInt->hSpinMtx != NIL_RTSEMSPINMUTEX);
493 Assert(pLogger->pInt->hSpinMtx != NIL_RTSEMSPINMUTEX);
827 pLogger->pInt->hSpinMtx = NIL_RTSEMSPINMUTEX;
978 rc = RTSemSpinMutexCreate(&pLogger->pInt->hSpinMtx, RTSEMSPINMUTEX_FLAGS_IRQ_SAFE);
986 RTSemSpinMutexRequest(pLogger->pInt->hSpinMtx);
[all...]

Completed in 177 milliseconds