Home
last modified time | relevance | path

Searched refs:reader_count (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/functional/semaphores/
Dsem_readerwriter.c32 static int reader_count = 0; variable
55 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()
/external/wpa_supplicant_8/src/utils/
Deloop_win.c49 size_t reader_count; member
101 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 …]
/external/wayland/src/
Dwayland-client.c107 int reader_count; member
1092 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()
/external/vulkan-validation-layers/layers/generated/
Dthread_safety.h66 int reader_count; member
162 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 …]
/external/wayland/patches/
D0001-client-Support-client-protocol-loggers.diff68 int reader_count;
128 display->reader_count = 0;
/external/rust/crates/spin/
DCHANGELOG.md135 - `RwLock::reader_count` and `RwLock::writer_count`
/external/rust/crates/spin/src/
Drwlock.rs321 pub fn reader_count(&self) -> usize { in reader_count() method
/external/rust/crates/libc/src/unix/haiku/
Dmod.rs293 reader_count: i32,
1198 reader_count: 0,