Windows: much better pipe_pound_1000 results

This commit is contained in:
Bert Belder 2011-08-12 02:34:49 +02:00
parent 89aa4078cc
commit 4c63f554a6

View File

@ -367,6 +367,8 @@ static DWORD WINAPI pipe_connect_thread_proc(void* parameter) {
if (pipeHandle != INVALID_HANDLE_VALUE) {
break;
}
SwitchToThread();
}
if (pipeHandle != INVALID_HANDLE_VALUE && !uv_set_pipe_handle(handle, pipeHandle)) {