aboutsummaryrefslogtreecommitdiff
path: root/src/core/socket.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-01 19:48:10 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-01 19:48:10 -0800
commit783470724ed22b315f2ecc4e3b1ac9d199d44ea2 (patch)
treed4883f305b1f2c6f57710cd8900f4b0932ae14c0 /src/core/socket.h
parentbbed172a2b38f9227ca9e1c02a933df068e5eaf7 (diff)
downloadnng-783470724ed22b315f2ecc4e3b1ac9d199d44ea2.tar.gz
nng-783470724ed22b315f2ecc4e3b1ac9d199d44ea2.tar.bz2
nng-783470724ed22b315f2ecc4e3b1ac9d199d44ea2.zip
Final purge of old threading & synch stuff.
Diffstat (limited to 'src/core/socket.h')
-rw-r--r--src/core/socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/socket.h b/src/core/socket.h
index 62c5ccb5..8d72c5e6 100644
--- a/src/core/socket.h
+++ b/src/core/socket.h
@@ -14,8 +14,8 @@
// OUSIDE of the core is STRICTLY VERBOTEN. NO DIRECT ACCESS BY PROTOCOLS OR
// TRANSPORTS.
struct nng_socket {
- nni_mutex s_mx;
- nni_cond s_cv;
+ nni_mtx s_mx;
+ nni_cv s_cv;
nni_msgqueue * s_uwq; // Upper write queue
nni_msgqueue * s_urq; // Upper read queue