Write queue after connect windows

On 10/20/2014 12:08 AM, Andrius Bentkus wrote:
> In src/win/pipe.c:
> 
>> -  }
>> -
>> -  assert(handle->handle != INVALID_HANDLE_VALUE);
>> -
>> -  uv_req_init(loop, (uv_req_t*) req);
>> -  req->type = UV_WRITE;
>> -  req->handle = (uv_stream_t*) handle;
>> -  req->cb = cb;
>> -  req->ipc_header = 0;
>> -  req->event_handle = NULL;
>> -  req->wait_handle = INVALID_HANDLE_VALUE;
>> -  memset(&req->overlapped, 0, sizeof(req->overlapped));
>> +  uv_loop_t* loop = req->handle->loop;
>> +  uv_pipe_t* handle = (uv_pipe_t*) req->handle;
>> +  uv_stream_t* send_handle = req->send_handle;
>> +  uv_write_cb cb = req->cb;
> 
> should i immediately initialize the variables, or just do a variable
> decleration and an initialization later on.
> 

Generally we do it in 2 steps.