[zeromq-dev] Can zmq_socket be create in thread 1 and used by thread 2?
张凯
zhangkai.gis at 163.com
Wed May 6 04:16:31 CEST 2015
Hello,
I knew that zmq_socket can not used in multi-thread.But Can I just create the socket in thread 1.Then use it in thread 2?Now I meet a problem.At first The sub can receive message.But when runs a few minutes.It can not receive message.I doubt It is because I create it in thread1 but use it in thread2.
Thanks,
zhangkai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150506/beb59a2e/attachment.htm>
More information about the zeromq-dev
mailing list