Home | History | Annotate | Download | only in tests

Lines Matching refs:writer_count

39   int          writer_count;
52 p->writer_count = 0;
61 assert(p->writer_count == 0);
71 if (p->writer_count == 0)
83 assert(p->writer_count >= 0);
84 assert(p->reader_count == 0 || p->writer_count == 0);
106 p->writer_count++;
108 assert(p->writer_count >= 0);
109 assert(p->reader_count == 0 || p->writer_count == 0);
127 p->writer_count--;
132 assert(p->writer_count >= 0);
133 assert(p->reader_count == 0 || p->writer_count == 0);