[zeromq-dev] zmq thread mutex problem

guolisen guolisen at gmail.com
Sun Jan 6 04:04:53 CET 2013


It's a ticket system, client is Access Control Device, and the ticket message is sent to my server, server will write it into Database, my server is a message center, it can process AC Device message and other UI message. :)






At 2013-01-06 07:31:25,crocket <crockabiscuit at gmail.com> wrote:

No... I want to know what drawing program you used to make that diagram. It looks good.




On Sat, Jan 5, 2013 at 6:21 PM, guolisen <guolisen at gmail.com> wrote:

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







_______________________________________________
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/20130106/5d55ede0/attachment.htm>


More information about the zeromq-dev mailing list