unsigned thread_id;
DWORD thread_status;
curl_socket_t dummy_sock; /* dummy for Curl_resolv_fdset() */
- FILE *stderr_file;
HANDLE mutex_waiting; /* marks that we are still waiting for a resolve */
HANDLE event_resolved; /* marks that the thread obtained the information */
HANDLE event_thread_started; /* marks that the thread has initialized and
return (unsigned)-1;
}
- /* Sharing the same _iob[] element with our parent thread should
- * hopefully make printouts synchronised. I'm not sure it works
- * with a static runtime lib (MSVC's libc.lib).
- */
-#ifndef _WIN32_WCE
- *stderr = *td->stderr_file;
-#endif
-
WSASetLastError (conn->async.status = NO_DATA); /* pending status */
/* Signaling that we have initialized all copies of data and handles we
return -1;
}
-#ifndef _WIN32_WCE
- *stderr = *td->stderr_file;
-#endif
-
itoa(conn->async.port, service, 10);
WSASetLastError(conn->async.status = NO_DATA); /* pending status */
return FALSE;
}
- td->stderr_file = stderr;
-
#ifdef _WIN32_WCE
td->thread_hnd = (HANDLE) CreateThread(NULL, 0,
(LPTHREAD_START_ROUTINE) THREAD_FUNC,