summaryrefslogtreecommitdiff
path: root/src/socket_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_base.cpp')
-rw-r--r--src/socket_base.cpp13
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_)
{