summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_signal.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-02-07 20:04:56 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-02-07 20:04:56 +0300
commit059a8642898a6bd4b47d13a1c1d599cd44af7e1c (patch)
treee3c8c530a04f1ae44777d5ea4fd6901dc55a8ebf /src/nxt_signal.c
parente57b95a92333fa7ff558737b0ba2b76894cc0412 (diff)
downloadunit-059a8642898a6bd4b47d13a1c1d599cd44af7e1c.tar.gz
unit-059a8642898a6bd4b47d13a1c1d599cd44af7e1c.tar.bz2
Event engines refactoring.
Diffstat (limited to '')
-rw-r--r--src/nxt_signal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_signal.c b/src/nxt_signal.c
index e267e3eb..492904d1 100644
--- a/src/nxt_signal.c
+++ b/src/nxt_signal.c
@@ -26,7 +26,7 @@ static nxt_int_t nxt_signal_action(int signo, void (*handler)(int));
nxt_event_signals_t *
-nxt_event_engine_signals(const nxt_event_sig_t *sigev)
+nxt_event_engine_signals(const nxt_sig_event_t *sigev)
{
nxt_event_signals_t *signals;
@@ -115,7 +115,7 @@ nxt_int_t
nxt_signal_thread_start(nxt_event_engine_t *engine)
{
nxt_thread_link_t *link;
- const nxt_event_sig_t *sigev;
+ const nxt_sig_event_t *sigev;
if (engine->signals->process == nxt_pid) {
return NXT_OK;
@@ -202,7 +202,7 @@ nxt_signal_thread_stop(nxt_event_engine_t *engine)
nxt_int_t
nxt_signal_handlers_start(nxt_event_engine_t *engine)
{
- const nxt_event_sig_t *sigev;
+ const nxt_sig_event_t *sigev;
for (sigev = engine->signals->sigev; sigev->signo != 0; sigev++) {
if (nxt_signal_action(sigev->signo, nxt_signal_handler) != NXT_OK) {