nxt_event_engine.c (358:40bbd4c2349d) nxt_event_engine.c (494:7c83ddcc1c42)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

--- 361 unchanged lines hidden (view full) ---

370 sigev++)
371 {
372 if (signo == (nxt_uint_t) sigev->signo) {
373 sigev->handler(task, (void *) signo, (void *) sigev->name);
374 return;
375 }
376 }
377
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

--- 361 unchanged lines hidden (view full) ---

370 sigev++)
371 {
372 if (signo == (nxt_uint_t) sigev->signo) {
373 sigev->handler(task, (void *) signo, (void *) sigev->name);
374 return;
375 }
376 }
377
378 nxt_log(task, NXT_LOG_CRIT, "signal %ui handler not found", signo);
378 nxt_log(task, NXT_LOG_CRIT, "signal %ui handler not found",
379 (nxt_uint_t) signo);
379}
380
381
382nxt_int_t
383nxt_event_engine_change(nxt_event_engine_t *engine,
384 const nxt_event_interface_t *interface, nxt_uint_t batch)
385{
386 nxt_uint_t events;

--- 279 unchanged lines hidden ---
380}
381
382
383nxt_int_t
384nxt_event_engine_change(nxt_event_engine_t *engine,
385 const nxt_event_interface_t *interface, nxt_uint_t batch)
386{
387 nxt_uint_t events;

--- 279 unchanged lines hidden ---