Lines Matching refs:writer_count
46 int writer_count; member
86 use_data->writer_count = 1; in startWrite()
106 use_data->writer_count = 1; in startWrite()
110 use_data->writer_count += 1; in startWrite()
115 use_data->writer_count += 1; in startWrite()
133 use_data->writer_count = 1; in startWrite()
137 use_data->writer_count += 1; in startWrite()
142 use_data->writer_count += 1; in startWrite()
151 uses[object].writer_count -= 1; in finishWrite()
152 if ((uses[object].reader_count == 0) && (uses[object].writer_count == 0)) { in finishWrite()
168 use_data->writer_count = 0; in startRead()
170 } else if (uses[object].writer_count > 0 && uses[object].thread != tid) { in startRead()
184 use_data->writer_count = 0; in startRead()
197 if ((uses[object].reader_count == 0) && (uses[object].writer_count == 0)) { in finishRead()