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_fiber.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 '')
-rw-r--r-- | src/nxt_fiber.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nxt_fiber.c b/src/nxt_fiber.c index f792897d..276e5788 100644 --- a/src/nxt_fiber.c +++ b/src/nxt_fiber.c @@ -398,7 +398,7 @@ nxt_fiber_sleep(nxt_task_t *task, nxt_msec_t timeout) task = &fib->task; - nxt_event_timer_add(task->thread->engine, &fib->timer, timeout); + nxt_timer_add(task->thread->engine, &fib->timer, timeout); if (_setjmp(fib->jmp) == 0) { @@ -416,14 +416,14 @@ nxt_fiber_sleep(nxt_task_t *task, nxt_msec_t timeout) static void nxt_fiber_timer_handler(nxt_task_t *task, void *obj, void *data) { - nxt_fiber_t *fib; - nxt_event_timer_t *ev; + nxt_fiber_t *fib; + nxt_timer_t *ev; ev = obj; nxt_debug(task, "fiber timer handler"); - fib = nxt_event_timer_data(ev, nxt_fiber_t, timer); + fib = nxt_timer_data(ev, nxt_fiber_t, timer); nxt_fiber_switch(task, fib); |