summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_service.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_service.c
parente57b95a92333fa7ff558737b0ba2b76894cc0412 (diff)
downloadunit-059a8642898a6bd4b47d13a1c1d599cd44af7e1c.tar.gz
unit-059a8642898a6bd4b47d13a1c1d599cd44af7e1c.tar.bz2
Event engines refactoring.
Diffstat (limited to 'src/nxt_service.c')
-rw-r--r--src/nxt_service.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/nxt_service.c b/src/nxt_service.c
index a911f53e..43aecfdd 100644
--- a/src/nxt_service.c
+++ b/src/nxt_service.c
@@ -10,34 +10,34 @@
static const nxt_service_t nxt_services[] = {
#if (NXT_HAVE_KQUEUE)
- { "engine", "kqueue", &nxt_kqueue_event_set },
+ { "engine", "kqueue", &nxt_kqueue_engine },
#endif
#if (NXT_HAVE_EPOLL_EDGE)
- { "engine", "epoll", &nxt_epoll_edge_event_set },
- { "engine", "epoll_edge", &nxt_epoll_edge_event_set },
- { "engine", "epoll_level", &nxt_epoll_level_event_set },
+ { "engine", "epoll", &nxt_epoll_edge_engine },
+ { "engine", "epoll_edge", &nxt_epoll_edge_engine },
+ { "engine", "epoll_level", &nxt_epoll_level_engine },
#elif (NXT_HAVE_EPOLL)
- { "engine", "epoll", &nxt_epoll_level_event_set },
- { "engine", "epoll_level", &nxt_epoll_level_event_set },
+ { "engine", "epoll", &nxt_epoll_level_engine },
+ { "engine", "epoll_level", &nxt_epoll_level_engine },
#endif
#if (NXT_HAVE_EVENTPORT)
- { "engine", "eventport", &nxt_eventport_event_set },
+ { "engine", "eventport", &nxt_eventport_engine },
#endif
#if (NXT_HAVE_DEVPOLL)
- { "engine", "devpoll", &nxt_devpoll_event_set },
- { "engine", "/dev/poll", &nxt_devpoll_event_set },
+ { "engine", "devpoll", &nxt_devpoll_engine },
+ { "engine", "/dev/poll", &nxt_devpoll_engine },
#endif
#if (NXT_HAVE_POLLSET)
- { "engine", "pollset", &nxt_pollset_event_set },
+ { "engine", "pollset", &nxt_pollset_engine },
#endif
- { "engine", "poll", &nxt_poll_event_set },
- { "engine", "select", &nxt_select_event_set },
+ { "engine", "poll", &nxt_poll_engine },
+ { "engine", "select", &nxt_select_engine },
#if (NXT_HAVE_OPENSSL)
{ "SSL/TLS", "OpenSSL", &nxt_openssl_lib },