Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/functional/semaphores/
Dsem_readerwriter.c32 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.c108 int reader_count; member
939 display->reader_count = 0; in wl_display_connect_to_fd()
1325 display->reader_count--; in read_events()
1326 if (display->reader_count == 0) { in read_events()
1377 display->reader_count--; in cancel_read()
1378 if (display->reader_count == 0) in cancel_read()
1536 display->reader_count++; in wl_display_prepare_read_queue()