diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:28:49 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:28:49 +0900 |
commit | a0d548e6cdef36a8dae6e6834252475728bf8583 (patch) | |
tree | c5f91d31926322bab95143d7f6e91c35bd37ac04 /src/socket_base.hpp | |
parent | 8bf03ce698c49d26bed3079003e59243b72af05a (diff) |
ZMQ_REENTRANT functionality removed
It doesn't play well with multipart messages.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/socket_base.hpp')
-rw-r--r-- | src/socket_base.hpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/socket_base.hpp b/src/socket_base.hpp index dd1fee7..16f7c61 100644 --- a/src/socket_base.hpp +++ b/src/socket_base.hpp @@ -65,10 +65,6 @@ namespace xs // This function can be called from a different thread! void stop (); - // Synchronise access of application threads to the socket. - void lock (); - void unlock (); - // Interface for communication with the API layer. int setsockopt (int option_, const void *optval_, size_t optvallen_); int getsockopt (int option_, void *optval_, size_t *optvallen_); @@ -145,11 +141,6 @@ namespace xs // Used to check whether the object is a socket. uint32_t tag; - // Synchronisation of access to the socket. If Crossroads are running - // in non-reentrant mode, it is a dummy mutex-like object. - bool reentrant; - mutex_t sync; - // If true, associated context was already terminated. bool ctx_terminated; |