Problem: socket poller shutdown asserts when context is terminating

Solution: do not call getsockopt to query thread-safety of a socket
This commit is contained in:
Simon Giesecke
2018-03-28 10:46:19 +02:00
parent 32c8abb1d8
commit 87fbb5c447
3 changed files with 10 additions and 7 deletions

View File

@@ -102,6 +102,11 @@ bool zmq::socket_base_t::check_tag ()
return tag == 0xbaddecaf;
}
bool zmq::socket_base_t::is_thread_safe () const
{
return thread_safe;
}
zmq::socket_base_t *zmq::socket_base_t::create (int type_,
class ctx_t *parent_,
uint32_t tid_,