]> git.kaiwu.me - nginx.git/commit
Win32: fixed cpu hog by cache manager on exit (ticket #514).
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 31 Mar 2014 17:38:28 +0000 (21:38 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 31 Mar 2014 17:38:28 +0000 (21:38 +0400)
commit8f6958baa97b43d16185364dcfb7d68361012740
treee0c9908c4b12f4f23eb9975be51acb7d0b3cded6
parente042fc903883341806366b39a526711b77f5c34b
Win32: fixed cpu hog by cache manager on exit (ticket #514).

The "ngx_quit" may be reset by the worker thread before it's seen
by a ngx_cache_manager_thread(), resulting in an infinite loop.  Make
sure to test ngx_exiting as well.
src/os/win32/ngx_process_cycle.c