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.cpp | |
| 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.cpp')
| -rw-r--r-- | src/socket_base.cpp | 13 | 
1 files changed, 0 insertions, 13 deletions
| diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 7ab00ea..38ec8c1 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -117,7 +117,6 @@ xs::socket_base_t *xs::socket_base_t::create (int type_, class ctx_t *parent_,  xs::socket_base_t::socket_base_t (ctx_t *parent_, uint32_t tid_, int sid_) :      own_t (parent_, tid_),      tag (0xbaddecaf), -    reentrant (parent_->is_reentrant ()),      ctx_terminated (false),      destroyed (false),      last_tsc (0), @@ -146,18 +145,6 @@ void xs::socket_base_t::stop ()      send_stop ();  } -void xs::socket_base_t::lock () -{ -    if (reentrant) -        sync.lock (); -} - -void xs::socket_base_t::unlock () -{ -    if (reentrant) -        sync.unlock (); -} -  int xs::socket_base_t::parse_uri (const char *uri_,                          std::string &protocol_, std::string &address_)  { | 
