Lines Matching defs:writer_count
98 int32_t writer_count;
99 // Note, that reader_count and writer_count are not used the same way.
100 // writer_count includes the write lock owner as well as waiting
110 writer_count = 0;
119 if (reader_count > 0 || waiters.Head() != NULL || writer_count > 0)
152 if (writer_count == 0) {
164 if (reader_count == 0 && writer_count == 0) {
165 writer_count++;
178 writer_count--;
194 if (writer_count == 1 && owner == find_thread(NULL))
203 writer_count++;
217 writer_count--;