Lines Matching defs:g_cConcurrentWriters
55 static uint32_t volatile g_cConcurrentWriters;
97 if (ASMAtomicIncU32(&g_cConcurrentWriters) != 1)
99 RTTestFailed(g_hTest, "g_cConcurrentWriters=%u on %s after write locking it",
100 g_cConcurrentWriters, RTThreadSelfName());
119 if (g_cConcurrentWriters != 0)
121 RTTestFailed(g_hTest, "g_cConcurrentWriters=%u on %s after read locking it",
122 g_cConcurrentWriters, RTThreadSelfName());
164 if (ASMAtomicDecU32(&g_cConcurrentWriters) != 0)
166 RTTestFailed(g_hTest, "g_cConcurrentWriters=%u on %s before write release",
167 g_cConcurrentWriters, RTThreadSelfName());
188 if (g_cConcurrentWriters != 0)
190 RTTestFailed(g_hTest, "g_cConcurrentWriters=%u on %s before read release",
191 g_cConcurrentWriters, RTThreadSelfName());
233 g_cConcurrentWriters = 0;
267 RTTEST_CHECK_MSG(g_hTest, g_cConcurrentWriters == 0, (g_hTest, "g_cConcurrentWriters=%u at end of test\n", g_cConcurrentWriters));