diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-08-15 09:43:27 +0500 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-08-15 09:43:27 +0500 |
| commit | 56354bd08cd6549cbaf348cae62f9db01786afc4 (patch) | |
| tree | 48cc5171615d2d1a2ca71084fb7e0d6ee65977f9 /src/core/sockimpl.h | |
| parent | a1f485bba51c56305537f3308a777035ea7c514d (diff) | |
| download | nng-56354bd08cd6549cbaf348cae62f9db01786afc4.tar.gz nng-56354bd08cd6549cbaf348cae62f9db01786afc4.tar.bz2 nng-56354bd08cd6549cbaf348cae62f9db01786afc4.zip | |
fixes #654 use aio for synchronous connect
Diffstat (limited to 'src/core/sockimpl.h')
| -rw-r--r-- | src/core/sockimpl.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/sockimpl.h b/src/core/sockimpl.h index 29e83f7a..be454d8a 100644 --- a/src/core/sockimpl.h +++ b/src/core/sockimpl.h @@ -25,14 +25,12 @@ struct nni_dialer { nni_url * d_url; nni_pipe * d_pipe; // active pipe (for redialer) int d_refcnt; - int d_lastrv; // last result from synchronous - bool d_synch; // synchronous connect in progress? bool d_closed; // full shutdown bool d_closing; nni_atomic_flag d_started; nni_mtx d_mtx; - nni_cv d_cv; nni_list d_pipes; + nni_aio * d_user_aio; nni_aio * d_con_aio; nni_aio * d_tmo_aio; // backoff timer nni_duration d_maxrtime; // maximum time for reconnect |
