Searched refs:reader_count (Results 1 – 8 of 8) sorted by relevance
32 static int reader_count = 0; variable55 reader_count++; in reader()56 printf("Enter into Reader thread, reader_count=%d \n", reader_count); in reader()57 if (reader_count == 1) { in reader()73 reader_count--; in reader()74 if (reader_count == 0) { in reader()85 reader_count); in reader()
49 size_t reader_count; member101 if (eloop.num_handles > eloop.reader_count + eloop.event_count + 8) in eloop_prepare_handles()133 tmp = os_realloc_array(eloop.readers, eloop.reader_count + 1, in eloop_register_read_sock()141 tmp[eloop.reader_count].sock = sock; in eloop_register_read_sock()142 tmp[eloop.reader_count].eloop_data = eloop_data; in eloop_register_read_sock()143 tmp[eloop.reader_count].user_data = user_data; in eloop_register_read_sock()144 tmp[eloop.reader_count].handler = handler; in eloop_register_read_sock()145 tmp[eloop.reader_count].event = event; in eloop_register_read_sock()146 eloop.reader_count++; in eloop_register_read_sock()160 if (eloop.readers == NULL || eloop.reader_count == 0) in eloop_unregister_read_sock()[all …]
107 int reader_count; member1092 display->reader_count = 0; in wl_display_connect_to_fd()1499 display->reader_count--; in read_events()1500 if (display->reader_count == 0) { in read_events()1551 display->reader_count--; in cancel_read()1552 if (display->reader_count == 0) in cancel_read()1710 display->reader_count++; in wl_display_prepare_read_queue()
66 int reader_count; member162 use_data->reader_count = 0; in StartWrite()167 if (use_data->reader_count == 0) { in StartWrite()180 new_use_data->reader_count = 0; in StartWrite()205 new_use_data->reader_count = 0; in StartWrite()230 if ((use_data->reader_count == 0) && (use_data->writer_count == 0)) { in FinishWrite()246 use_data->reader_count = 1; in StartRead()260 use_data->reader_count = 1; in StartRead()264 bucket.uses[object].reader_count += 1; in StartRead()268 bucket.uses[object].reader_count += 1; in StartRead()[all …]
68 int reader_count;128 display->reader_count = 0;
135 - `RwLock::reader_count` and `RwLock::writer_count`
321 pub fn reader_count(&self) -> usize { in reader_count() method
293 reader_count: i32,1198 reader_count: 0,