Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dpoll_windows.c513 HANDLE *handles_to_wait_on; in usbi_poll() local
521 handles_to_wait_on = (HANDLE*) calloc(nfds+1, sizeof(HANDLE)); // +1 for fd_update in usbi_poll()
523 if ((handles_to_wait_on == NULL) || (handle_to_index == NULL)) { in usbi_poll()
583 handles_to_wait_on[nb_handles_to_wait_on] = poll_fd[_index].overlapped->hEvent; in usbi_poll()
597 ret = WaitForMultipleObjects(nb_handles_to_wait_on, handles_to_wait_on, in usbi_poll()
619 if (handles_to_wait_on != NULL) { in usbi_poll()
620 free(handles_to_wait_on); in usbi_poll()