Searched refs:Ping (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.
76 int rc = RTSemEventCreate(&pPP->Ping);
82 RTSemEventDestroy(pPP->Ping);
91 * Destroys a Ping-Pong construct.
111 int rc = RTSemEventDestroy(pPP->Ping);
175 int rc = RTSemEventSignal(pPP->Ping);
180 AssertMsgFailed(("Failed to signal ping sem %x. rc=%Rrc\n", pPP->Ping, rc));
211 int rc = RTSemEventWait(pPP->Ping, cMillies);
/vbox/include/iprt/
H A Dsemaphore.h1192 /** @defgroup grp_rt_sems_pingpong RTSemPingPong - Ping-Pong Construct
1199 * Ping-pong speaker
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
1226 /** The semaphore the Ping thread waits on. */
1227 RTSEMEVENT Ping; member in struct:RTPINGPONG
[all...]

Completed in 46 milliseconds