Home
last modified time | relevance | path

Searched refs:sigev (Results 1 – 5 of 5) sorted by relevance

/unit/src/
H A Dnxt_signal.c30 nxt_event_engine_signals(const nxt_sig_event_t *sigev) in nxt_event_engine_signals() argument
39 signals->sigev = sigev; in nxt_event_engine_signals()
51 while (sigev->signo != 0) { in nxt_event_engine_signals()
52 sigaddset(&signals->sigmask, sigev->signo); in nxt_event_engine_signals()
53 sigev++; in nxt_event_engine_signals()
114 const nxt_sig_event_t *sigev; in nxt_signal_thread_start() local
130 for (sigev = engine->signals->sigev; sigev->signo != 0; sigev++) { in nxt_signal_thread_start()
131 if (nxt_signal_action(sigev->signo, nxt_signal_handler) != NXT_OK) { in nxt_signal_thread_start()
H A Dnxt_signal.h28 const nxt_sig_event_t *sigev; member
37 nxt_event_signals_t *nxt_event_engine_signals(const nxt_sig_event_t *sigev);
H A Dnxt_kqueue_engine.c93 const nxt_sig_event_t *sigev);
176 const nxt_sig_event_t *sigev; in nxt_kqueue_create() local
202 for (sigev = engine->signals->sigev; sigev->signo != 0; sigev++) { in nxt_kqueue_create()
203 if (nxt_kqueue_add_signal(engine, sigev) != NXT_OK) { in nxt_kqueue_create()
568 signo = sigev->signo; in nxt_kqueue_add_signal()
588 engine->u.kqueue.fd, signo, sigev->name); in nxt_kqueue_add_signal()
595 kev.udata = nxt_kevent_set_udata(sigev); in nxt_kqueue_add_signal()
674 nxt_sig_event_t *sigev; in nxt_kqueue_poll() local
814 sigev = obj; in nxt_kqueue_poll()
816 handler = sigev->handler; in nxt_kqueue_poll()
[all …]
H A Dnxt_event_engine.c364 const nxt_sig_event_t *sigev; in nxt_event_engine_signal_handler() local
368 for (sigev = task->thread->engine->signals->sigev; in nxt_event_engine_signal_handler()
369 sigev->signo != 0; in nxt_event_engine_signal_handler()
370 sigev++) in nxt_event_engine_signal_handler()
372 if (signo == (nxt_uint_t) sigev->signo) { in nxt_event_engine_signal_handler()
373 sigev->handler(task, (void *) signo, (void *) sigev->name); in nxt_event_engine_signal_handler()
H A Dnxt_process.c411 engine->signals->sigev = init->signals; in nxt_process_setup()