diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-01-30 16:47:50 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-01-30 16:47:50 +0300 |
commit | bb87fa11ca65d1263a32f86d51d1daa89dc11544 (patch) | |
tree | d5e74fee091b15da7ecd058341d49dba304c9822 /src/nxt_event_engine.c | |
parent | 952291c93c96c1dc5b63576e0ee034efde998b18 (diff) | |
download | unit-bb87fa11ca65d1263a32f86d51d1daa89dc11544.tar.gz unit-bb87fa11ca65d1263a32f86d51d1daa89dc11544.tar.bz2 |
nxt_event_timer has been renamed to nxt_timer.
Diffstat (limited to 'src/nxt_event_engine.c')
-rw-r--r-- | src/nxt_event_engine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_event_engine.c b/src/nxt_event_engine.c index 921de23c..c40e8fa6 100644 --- a/src/nxt_event_engine.c +++ b/src/nxt_event_engine.c @@ -109,7 +109,7 @@ nxt_event_engine_create(nxt_thread_t *thr, const nxt_event_set_ops_t *event_set, goto post_fail; } - if (nxt_event_timers_init(&engine->timers, 4 * events) != NXT_OK) { + if (nxt_timers_init(&engine->timers, 4 * events) != NXT_OK) { goto timers_fail; } @@ -521,7 +521,7 @@ nxt_event_engine_start(nxt_event_engine_t *engine) /* Attach some event engine work queues in preferred order. */ - timeout = nxt_event_timer_find(engine); + timeout = nxt_timer_find(engine); engine->event->poll(&engine->task, engine->event_set, timeout); @@ -535,7 +535,7 @@ nxt_event_engine_start(nxt_event_engine_t *engine) now = nxt_thread_monotonic_time(thr) / 1000000; if (timeout == 0 || now != engine->timers.now) { - nxt_event_timer_expire(thr, now); + nxt_timer_expire(thr, now); } } } |