diff options
| author | Garrett D'Amore <garrett@damore.org> | 2016-12-22 15:23:21 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2016-12-22 15:23:21 -0800 |
| commit | 934c1316ae47754a2e368c65228c3cbfe552680f (patch) | |
| tree | e81c4d2854df83e3d908c9269dd35c0600fa6acb /src/core/endpt.h | |
| parent | ee969ad99dc1e07e1c38876223e7aed13463b121 (diff) | |
| download | nng-934c1316ae47754a2e368c65228c3cbfe552680f.tar.gz nng-934c1316ae47754a2e368c65228c3cbfe552680f.tar.bz2 nng-934c1316ae47754a2e368c65228c3cbfe552680f.zip | |
Inline locks (fewer allocs), simpler absolute times for wakeups. nn_sock_recv.
Diffstat (limited to 'src/core/endpt.h')
| -rw-r--r-- | src/core/endpt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/endpt.h b/src/core/endpt.h index 063dcb7b..0fa69678 100644 --- a/src/core/endpt.h +++ b/src/core/endpt.h @@ -24,8 +24,8 @@ struct nng_endpt { nni_thread_t ep_dialer; nni_thread_t ep_listener; int ep_close; - nni_mutex_t ep_mx; - nni_cond_t ep_cv; + nni_mutex ep_mx; + nni_cond ep_cv; }; int nni_endpt_create(nni_endpt **, nni_socket *, const char *); |
