diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-05 07:22:07 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-05 07:22:07 -0700 |
| commit | 23c4a6eab39c0d24ad0ff5d5ec7e9879b1788a9b (patch) | |
| tree | b38e82c37e27cec60d14ee04de2dd93300d34762 /src/core/endpt.h | |
| parent | 719bc93e11f6607d302d908475b240e1d50f5a89 (diff) | |
| download | nng-23c4a6eab39c0d24ad0ff5d5ec7e9879b1788a9b.tar.gz nng-23c4a6eab39c0d24ad0ff5d5ec7e9879b1788a9b.tar.bz2 nng-23c4a6eab39c0d24ad0ff5d5ec7e9879b1788a9b.zip | |
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.
Diffstat (limited to 'src/core/endpt.h')
| -rw-r--r-- | src/core/endpt.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
