From 537e2eda8d9fda2001295c835a4720def6a237f1 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 21 Jul 2017 02:46:01 -0700 Subject: Simpler taskq API. The queue is bound at initialization time of the task, and we call entries just tasks, so we don't have to pass around a taskq pointer across all the calls. Further, nni_task_dispatch is now guaranteed to succeed. --- src/core/endpt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/endpt.h') diff --git a/src/core/endpt.h b/src/core/endpt.h index 0d2a4570..942ba978 100644 --- a/src/core/endpt.h +++ b/src/core/endpt.h @@ -44,7 +44,7 @@ struct nni_ep { nni_duration ep_currtime; // current time for reconnect nni_duration ep_inirtime; // initial time for reconnect nni_time ep_conntime; // time of last good connect - nni_taskq_ent ep_reap_tqe; + nni_task ep_reap_task; }; enum nni_ep_mode { -- cgit v1.2.3-70-g09d2