Hi:
It's the first time i am using a mail list . So if there are something
wrong about this mail or I offens someone, Please point it out.
As I described at libzmq/issues/1095, I found my code would crash from
time to time at function zmq_msg_recv.
I writed a simple server to test libuv. Casue libuv are not thread safe,
so i use recursion-like function to call uv_write for each connection.
When connection established, I create a zeromq socket (inproc-zmq-sub) to
receive data form a inpro-zeromq-publish socket coninuouslly. And call function
uv_server::_write_data, in this function i called zmg_msg_recv. Sometimes it
would crash at here.
attachment : My test case (vs2010 project ), you may need libuv to build this
project
ymonster
-------------------------------------
Best regards.
uv_trail_shrink.7z
Description: application/7z-compressed
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
