mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-24 00:49:48 +02:00
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:
@@ -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_,
|
||||
|
||||
Reference in New Issue
Block a user