From 23c4a6eab39c0d24ad0ff5d5ec7e9879b1788a9b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 5 Aug 2017 07:22:07 -0700 Subject: Use dedicate reap thread for endpoints too. This change mirrors the change we made for pipes yesterday, moving the endpoint cleanup to its own thread, ensuring that the blocking operations we need to perform during clean up do not gum up the works in the main system taskq. --- 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 942ba978..5a923bd5 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_task ep_reap_task; + nni_list_node ep_reap_node; }; enum nni_ep_mode { -- cgit v1.2.3-70-g09d2