Mercurial > hg > nginx
comparison src/event/ngx_event.c @ 6113:36d99c042652
Replaced the remaining NGX_OLD_THREADS check with NGX_WIN32.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 26 Mar 2015 14:20:51 +0300 |
parents | c8acea7c7041 |
children | 4dc8e7b62216 |
comparison
equal
deleted
inserted
replaced
6112:8c79c506ea20 | 6113:36d99c042652 |
---|---|
210 | 210 |
211 } else { | 211 } else { |
212 timer = ngx_event_find_timer(); | 212 timer = ngx_event_find_timer(); |
213 flags = NGX_UPDATE_TIME; | 213 flags = NGX_UPDATE_TIME; |
214 | 214 |
215 #if (NGX_OLD_THREADS) | 215 #if (NGX_WIN32) |
216 | |
217 /* handle signals from master in case of network inactivity */ | |
216 | 218 |
217 if (timer == NGX_TIMER_INFINITE || timer > 500) { | 219 if (timer == NGX_TIMER_INFINITE || timer > 500) { |
218 timer = 500; | 220 timer = 500; |
219 } | 221 } |
220 | 222 |