Lines Matching refs:handles
511 * TODO: Differentiate between read/write/except for non-SOCKET handles.
536 HANDLE handle, *handles;
555 /* allocate internal array for the original input handles */
562 /* allocate internal array for the internal event handles */
563 handles = malloc(nfds * sizeof(HANDLE));
564 if(handles == NULL) {
569 /* allocate internal array for the internal socket handles */
583 /* loop over the handles in the input descriptor sets */
586 handles[nfd] = 0;
601 handles[nfd] = CreateThread(NULL, 0,
607 handles[nfd] = GetStdHandle(STD_OUTPUT_HANDLE);
610 handles[nfd] = GetStdHandle(STD_ERROR_HANDLE);
617 handles[nfd] = wsaevent;
623 handles[nfd] = (HANDLE) curlx_sitosk(fds);
640 /* wait for one of the internal handles to trigger */
641 wait = WaitForMultipleObjectsEx(nfd, handles, FALSE, milliseconds, FALSE);
643 /* loop over the internal handles returned in the descriptors */
645 handle = handles[idx];
711 free(handles);