Lines Matching refs:g_hSemRW
49 static RTSEMRW g_hSemRW = NIL_RTSEMRW;
87 rc = RTSemRWRequestWriteNoResume(g_hSemRW, RT_INDEFINITE_WAIT);
111 rc = RTSemRWRequestReadNoResume(g_hSemRW, RT_INDEFINITE_WAIT);
127 rc = RTSemRWRequestReadNoResume(g_hSemRW, RT_INDEFINITE_WAIT);
151 rc = RTSemRWReleaseRead(g_hSemRW);
177 rc = RTSemRWReleaseWrite(g_hSemRW);
194 rc = RTSemRWReleaseRead(g_hSemRW);
235 RTTEST_CHECK_RC_RETV(g_hTest, RTSemRWCreate(&g_hSemRW), VINF_SUCCESS);
240 RTTEST_CHECK_RC_RETV(g_hTest, RTSemRWRequestWrite(g_hSemRW, RT_INDEFINITE_WAIT), VINF_SUCCESS);
255 RTTEST_CHECK_RC(g_hTest, RTSemRWReleaseWrite(g_hSemRW), VINF_SUCCESS);
269 RTTEST_CHECK_RC(g_hTest, RTSemRWDestroy(g_hSemRW), VINF_SUCCESS);
270 g_hSemRW = NIL_RTSEMRW;