aboutsummaryrefslogtreecommitdiff
path: root/src/core/sockimpl.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-12-19 10:21:54 -0800
committerGarrett D'Amore <garrett@damore.org>2020-12-19 12:50:05 -0800
commitd12e169c1e733b255d146847ed57037b74681285 (patch)
treee4a59142a6cf097dfdda8620635f173f53db9e7a /src/core/sockimpl.h
parent2033988343bce413763d3e9664e3e8372da48591 (diff)
downloadnng-d12e169c1e733b255d146847ed57037b74681285.tar.gz
nng-d12e169c1e733b255d146847ed57037b74681285.tar.bz2
nng-d12e169c1e733b255d146847ed57037b74681285.zip
fixes #1372 nni_reap could be smaller
Diffstat (limited to 'src/core/sockimpl.h')
-rw-r--r--src/core/sockimpl.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/sockimpl.h b/src/core/sockimpl.h
index 804fa00c..638a3bfd 100644
--- a/src/core/sockimpl.h
+++ b/src/core/sockimpl.h
@@ -37,7 +37,7 @@ struct nni_dialer {
nni_duration d_currtime; // current time for reconnect
nni_duration d_inirtime; // initial time for reconnect
nni_time d_conntime; // time of last good connect
- nni_reap_item d_reap;
+ nni_reap_node d_reap;
#ifdef NNG_ENABLE_STATS
nni_stat_item st_root;
@@ -73,7 +73,7 @@ struct nni_listener {
nni_list l_pipes;
nni_aio l_acc_aio;
nni_aio l_tmo_aio;
- nni_reap_item l_reap;
+ nni_reap_node l_reap;
#ifdef NNG_ENABLE_STATS
nni_stat_item st_root;
@@ -111,7 +111,7 @@ struct nni_pipe {
int p_ref;
nni_mtx p_mtx;
nni_cv p_cv;
- nni_reap_item p_reap;
+ nni_reap_node p_reap;
#ifdef NNG_ENABLE_STATS
nni_stat_item st_root;
@@ -122,7 +122,6 @@ struct nni_pipe {
nni_stat_item st_tx_msgs;
nni_stat_item st_rx_bytes;
nni_stat_item st_tx_bytes;
-
#endif
};