Merge branch 'v0.8'

This commit is contained in:
Bert Belder 2012-08-21 01:20:05 +02:00
commit 37173f8515

View File

@ -73,6 +73,9 @@ static void uv_loop_init(uv_loop_t* loop) {
uv_fatal_error(GetLastError(), "CreateIoCompletionPort");
}
/* To prevent uninitialized memory access, loop->time must be intialized */
/* to zero before calling uv_update_time for the first time. */
loop->time = 0;
uv_update_time(loop);
ngx_queue_init(&loop->handle_queue);