mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:43:31 +03:00
try moving win32 to CreateThread() API 3
This commit is contained in:
parent
01385ef1e9
commit
48e86bc03f
5 changed files with 6 additions and 10 deletions
|
|
@ -412,7 +412,7 @@ struct select_ws_wait_data {
|
|||
HANDLE signal; /* internal event to signal handle trigger */
|
||||
HANDLE abort; /* internal event to abort waiting threads */
|
||||
};
|
||||
static CURL_THREAD_RETURN_T WINAPI select_ws_wait_thread(void *lpParameter)
|
||||
static DWORD WINAPI select_ws_wait_thread(void *lpParameter)
|
||||
{
|
||||
struct select_ws_wait_data *data;
|
||||
HANDLE signal, handle, handles[2];
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@ static SIGHANDLER_T old_sigbreak_handler = SIG_ERR;
|
|||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(CURL_WINDOWS_UWP) && !defined(UNDER_CE)
|
||||
static CURL_THREAD_RETURN_T thread_main_id = 0;
|
||||
static DWORD thread_main_id = 0;
|
||||
static HANDLE thread_main_window = NULL;
|
||||
static HWND hidden_main_window = NULL;
|
||||
#endif
|
||||
|
|
@ -487,7 +487,7 @@ static LRESULT CALLBACK main_window_proc(HWND hwnd, UINT uMsg,
|
|||
}
|
||||
/* Window message queue loop for hidden main window, details see above.
|
||||
*/
|
||||
static CURL_THREAD_RETURN_T WINAPI main_window_loop(void *lpParameter)
|
||||
static DWORD WINAPI main_window_loop(void *lpParameter)
|
||||
{
|
||||
WNDCLASS wc;
|
||||
BOOL ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue