Mercurial > hg > nginx
comparison src/event/modules/ngx_kqueue_module.c @ 425:bd39260a1383
nginx-0.0.10-2004-09-14-19:55:24 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 14 Sep 2004 15:55:24 +0000 |
parents | 537de4dca8ca |
children | da8c5707af39 |
comparison
equal
deleted
inserted
replaced
424:84c527908237 | 425:bd39260a1383 |
---|---|
705 } | 705 } |
706 | 706 |
707 | 707 |
708 static ngx_int_t ngx_kqueue_process_changes(ngx_cycle_t *cycle, ngx_uint_t try) | 708 static ngx_int_t ngx_kqueue_process_changes(ngx_cycle_t *cycle, ngx_uint_t try) |
709 { | 709 { |
710 int n; | 710 int n; |
711 ngx_int_t rc; | 711 ngx_int_t rc; |
712 ngx_err_t err; | 712 ngx_err_t err; |
713 struct timespec ts; | 713 struct timespec ts; |
714 struct kevent *changes; | 714 struct kevent *changes; |
715 | 715 |
716 if (ngx_mutex_lock(kevent_mutex) == NGX_ERROR) { | 716 if (ngx_mutex_lock(kevent_mutex) == NGX_ERROR) { |
717 return NGX_ERROR; | 717 return NGX_ERROR; |
718 } | 718 } |
719 | 719 |