Mercurial > hg > nginx
comparison src/event/modules/ngx_kqueue_module.c @ 242:5d4f49dc8de5
nginx-0.0.1-2004-01-28-18:22:37 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 28 Jan 2004 15:22:37 +0000 |
parents | 1119faf4635a |
children | e6c005b66b3a |
comparison
equal
deleted
inserted
replaced
241:3bfa496bc22e | 242:5d4f49dc8de5 |
---|---|
494 | 494 |
495 return NGX_OK; | 495 return NGX_OK; |
496 } | 496 } |
497 | 497 |
498 | 498 |
499 #if 0 | |
500 | |
499 static void ngx_kqueue_thread_handler(ngx_event_t *ev, ngx_log_t *log) | 501 static void ngx_kqueue_thread_handler(ngx_event_t *ev, ngx_log_t *log) |
500 { | 502 { |
501 ngx_int_t instance; | 503 ngx_int_t instance; |
502 | 504 |
503 instance = (uintptr_t) ev & 1; | 505 instance = (uintptr_t) ev & 1; |
516 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, log, 0, | 518 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, log, 0, |
517 "kevent: stale event " PTR_FMT, ev); | 519 "kevent: stale event " PTR_FMT, ev); |
518 | 520 |
519 } | 521 } |
520 | 522 |
523 #endif | |
524 | |
521 | 525 |
522 static void *ngx_kqueue_create_conf(ngx_cycle_t *cycle) | 526 static void *ngx_kqueue_create_conf(ngx_cycle_t *cycle) |
523 { | 527 { |
524 ngx_kqueue_conf_t *kcf; | 528 ngx_kqueue_conf_t *kcf; |
525 | 529 |