Searched defs:pPP (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstSemPingPong.cpp51 PRTPINGPONG pPP = (PRTPINGPONG)pvPP; local
54 if (!RTSemPongShouldWait(pPP))
60 rc = RTSemPongWait(pPP, RT_INDEFINITE_WAIT);
68 if (!RTSemPongIsSpeaker(pPP))
74 rc = RTSemPong(pPP);
/vbox/src/VBox/Runtime/common/misc/
H A Dsemspingpong.cpp49 #define RTSEMPP_VALIDATE_RETURN(pPP) \
51 AssertPtrReturn(pPP, VERR_INVALID_PARAMETER); \
52 AssertCompileSize(pPP->enmSpeaker, 4); \
53 enmSpeaker = (RTPINGPONGSPEAKER)ASMAtomicUoReadU32((volatile uint32_t *)&pPP->enmSpeaker); \
67 * @param pPP Pointer to the ping-pong structure which needs initialization.
69 RTDECL(int) RTSemPingPongInit(PRTPINGPONG pPP) argument
74 pPP->enmSpeaker = RTPINGPONGSPEAKER_PING;
76 int rc = RTSemEventCreate(&pPP->Ping);
79 rc = RTSemEventCreate(&pPP->Pong);
82 RTSemEventDestroy(pPP
97 RTSemPingPongDelete(PRTPINGPONG pPP) argument
128 RTSemPing(PRTPINGPONG pPP) argument
161 RTSemPong(PRTPINGPONG pPP) argument
195 RTSemPingWait(PRTPINGPONG pPP, RTMSINTERVAL cMillies) argument
228 RTSemPongWait(PRTPINGPONG pPP, RTMSINTERVAL cMillies) argument
[all...]
/vbox/include/iprt/
H A Dsemaphore.h1244 * @param pPP Pointer to the ping-pong structure which needs initialization.
1246 RTDECL(int) RTSemPingPongInit(PRTPINGPONG pPP); variable
1252 * @param pPP Pointer to the ping-pong structure which is to be destroyed.
1255 RTDECL(int) RTSemPingPongDelete(PRTPINGPONG pPP); variable
1262 * @param pPP Pointer to the ping-pong structure to ping.
1264 RTDECL(int) RTSemPing(PRTPINGPONG pPP); variable
1271 * @param pPP Pointer to the ping-pong structure to pong.
1273 RTDECL(int) RTSemPong(PRTPINGPONG pPP); variable
1280 * @param pPP Pointer to the ping-pong structure to wait on.
1283 RTDECL(int) RTSemPingWait(PRTPINGPONG pPP, RTMSINTERVA
1303 RTSemPingIsSpeaker(PRTPINGPONG pPP) argument
1317 RTSemPongIsSpeaker(PRTPINGPONG pPP) argument
1331 RTSemPingShouldWait(PRTPINGPONG pPP) argument
1347 RTSemPongShouldWait(PRTPINGPONG pPP) argument
[all...]

Completed in 35 milliseconds