diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-01-27 11:35:11 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-01-27 11:35:11 +0300 |
commit | ba0391577b06446307fa073f856f57748557e0dd (patch) | |
tree | b2b871a041edee242662c95197bed292531c3a9a /src/nxt_event_timer.c | |
parent | 6886b83c1f3bfdc514d58ad6e9ab40873cafcb54 (diff) | |
download | unit-ba0391577b06446307fa073f856f57748557e0dd.tar.gz unit-ba0391577b06446307fa073f856f57748557e0dd.tar.bz2 |
Work queues refactoring.
Diffstat (limited to 'src/nxt_event_timer.c')
-rw-r--r-- | src/nxt_event_timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nxt_event_timer.c b/src/nxt_event_timer.c index 4a260705..e9615f92 100644 --- a/src/nxt_event_timer.c +++ b/src/nxt_event_timer.c @@ -313,8 +313,7 @@ nxt_event_timer_expire(nxt_thread_t *thr, nxt_msec_t now) if (ev->state != NXT_EVENT_TIMER_DISABLED) { ev->state = NXT_EVENT_TIMER_DISABLED; - nxt_thread_work_queue_add(thr, ev->work_queue, ev->handler, - ev->task, ev, NULL); + nxt_work_queue_add(ev->work_queue, ev->handler, ev->task, ev, NULL); } } } |