Lines Matching defs:thread
595 curl_win_thread_handle_t thread;
604 /* launch waiting thread */
606 thread = CreateThread(NULL, 0, &select_ws_wait_thread, data, 0, NULL);
608 thread = _beginthreadex(NULL, 0, &select_ws_wait_thread, data, 0, NULL);
611 /* free data if thread failed to launch */
612 if(!thread) {
615 return (HANDLE)thread;
624 HANDLE signal; /* internal thread signal (indexed by nth) */
625 HANDLE thread; /* internal thread handle (indexed by nth) */
722 data[nth].thread = handle;
776 data[nth].thread = handle;
806 WaitForSingleObjectEx(data[i].thread, INFINITE, FALSE);
807 CloseHandle(data[i].thread);