Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dpoll_windows.c515 DWORD nb_handles_to_wait_on = 0; in usbi_poll() local
583 handles_to_wait_on[nb_handles_to_wait_on] = poll_fd[_index].overlapped->hEvent; in usbi_poll()
584 handle_to_index[nb_handles_to_wait_on] = i; in usbi_poll()
585 nb_handles_to_wait_on++; in usbi_poll()
591 if ((timeout != 0) && (triggered == 0) && (nb_handles_to_wait_on != 0)) { in usbi_poll()
593 poll_dbg("starting infinite wait for %u handles...", (unsigned int)nb_handles_to_wait_on); in usbi_poll()
595 poll_dbg("starting %d ms wait for %u handles...", timeout, (unsigned int)nb_handles_to_wait_on); in usbi_poll()
597 ret = WaitForMultipleObjects(nb_handles_to_wait_on, handles_to_wait_on, in usbi_poll()
600 if ((object_index >= 0) && ((DWORD)object_index < nb_handles_to_wait_on)) { in usbi_poll()