Searched refs:Pong (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Runtime/common/misc/
H A Dsemspingpong.cpp3 * IPRT - Thread Ping-Pong Construct.
64 * Init a Ping-Pong construct.
79 rc = RTSemEventCreate(&pPP->Pong);
91 * Destroys a Ping-Pong construct.
112 int rc2 = RTSemEventDestroy(pPP->Pong);
142 int rc = RTSemEventSignal(pPP->Pong);
147 AssertMsgFailed(("Failed to signal pong sem %x. rc=%Rrc\n", pPP->Pong, rc));
244 int rc = RTSemEventWait(pPP->Pong, cMillies);
/vbox/include/iprt/
H A Dsemaphore.h1192 /** @defgroup grp_rt_sems_pingpong RTSemPingPong - Ping-Pong Construct
1205 /** Ping is speaking, Pong is waiting. */
1207 /** Pong is signaled, Ping is waiting. */
1209 /** Pong is speaking, Ping is waiting. */
1211 /** Ping is signaled, Pong is waiting. */
1218 * Ping-Pong construct.
1220 * Two threads, one saying Ping and the other saying Pong. The construct
1228 /** The semaphore the Pong thread waits on. */
1229 RTSEMEVENT Pong; member in struct:RTPINGPONG
1237 /** Pointer to Ping-Pong construc
[all...]

Completed in 42 milliseconds