Mercurial > hg > nginx
changeset 3352:5c43621c580a
a cache manager thread handle was overwritten by a cache loader thread handle,
this caused an exit delay, the bug had been introduced in r3023
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 17 Nov 2009 16:46:27 +0000 |
parents | b759cf8f6000 |
children | ea50b0d79ef1 |
files | src/os/win32/ngx_process_cycle.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/win32/ngx_process_cycle.c Tue Nov 17 10:31:39 2009 +0000 +++ b/src/os/win32/ngx_process_cycle.c Tue Nov 17 16:46:27 2009 +0000 @@ -599,7 +599,7 @@ HANDLE mev, events[3]; u_long nev, ev; ngx_err_t err; - ngx_tid_t wtid, cmtid; + ngx_tid_t wtid, cmtid, cltid; ngx_log_t *log; log = cycle->log; @@ -671,7 +671,7 @@ goto failed; } - if (ngx_create_thread(&cmtid, ngx_cache_loader_thread, NULL, log) != 0) { + if (ngx_create_thread(&cltid, ngx_cache_loader_thread, NULL, log) != 0) { goto failed; }