[zeromq-dev] zmq thread mutex problem

guolisen guolisen at gmail.com
Sat Jan 5 10:21:43 CET 2013


Hi, crocket
My program is a Tcp Echo Server, some of my client can not run zmq, so i use libev to recv tcp message and send it to zmq server,  this process is in thread,  and the max thread num is about 100, but about 1-2 hour later, the zmq code file mutex.hpp assert at 90 line.






At 2013-01-05 16:57:03,crocket <crockabiscuit at gmail.com> wrote:

Just an unrelated question here.


What program did you draw zmq.png with?




On Sat, Jan 5, 2013 at 4:39 PM, Lisen Guo <guolisen at gmail.com> wrote:

Hello,

        I write a echo server like the picture(email accessory), but it often assert at mutex.hpp:90,  this line is pthread_mutex_destory, I don't know why, I think my thread is detach thread, so maybe thread data release before zmq pipe process 'close' command. and I add some delay before my thread exit, but the problem is not  resolved. who can give me some advice, thank u.
ps. error message is "Device or resource busy (mutex.hpp:90)"


_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130105/700c6ce5/attachment.htm>


More information about the zeromq-dev mailing list