Lines Matching refs:g_cConcurrentReaders
55 static uint32_t volatile g_cConcurrentReaders;
102 if (g_cConcurrentReaders != 0)
104 RTTestFailed(g_hTest, "g_cConcurrentReaders=%u on %s after write locking it",
105 g_cConcurrentReaders, RTThreadSelfName());
117 ASMAtomicIncU32(&g_cConcurrentReaders);
169 if (g_cConcurrentReaders != 0)
171 RTTestFailed(g_hTest, "g_cConcurrentReaders=%u on %s before write release",
172 g_cConcurrentReaders, RTThreadSelfName());
193 ASMAtomicDecU32(&g_cConcurrentReaders);
233 g_cConcurrentReaders = 0;
267 RTTEST_CHECK_MSG(g_hTest, g_cConcurrentReaders == 0, (g_hTest, "g_cConcurrentReaders=%u at end of test\n", g_cConcurrentReaders));