Re: [zeromq-dev] zmq thread mutex problem

2013-01-14 Thread Pieter Hintjens
Hi Lisen, Sorry for the slow response. The best way to get help on your issue is to make a minimal example which reproduces the problem and that other people can try. Ideally, in C. -Pieter On Sat, Jan 5, 2013 at 8:39 AM, guolisen wrote: > Hello, > > I write a echo server like the pict

Re: [zeromq-dev] zmq thread mutex problem

2013-01-06 Thread Pieter Hintjens
On Sat, Jan 5, 2013 at 8:39 AM, Lisen Guo wrote: > 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 re Can you reproduce this with a minimal test case, in C, and post that somewhere? Thanks Pieter _

Re: [zeromq-dev] zmq thread mutex problem

2013-01-06 Thread i...@liquidcooling.de
Hi, I wasn't asked, but it looks like some kind of MS Visio. Visio is fine for small diagrams, but it's a nightmare for bigger ones because of the over-smart connection arrows... For bigger things I'm using EnterpriseArchitect. Cheers, Ingo ___ zeromq-

Re: [zeromq-dev] zmq thread mutex problem

2013-01-05 Thread guolisen
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 wrote: No... I want to know what

Re: [zeromq-dev] zmq thread mutex problem

2013-01-05 Thread crocket
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 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 proce

[zeromq-dev] zmq thread mutex problem

2013-01-05 Thread guolisen
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 bef

Re: [zeromq-dev] zmq thread mutex problem

2013-01-05 Thread guolisen
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-0

Re: [zeromq-dev] zmq thread mutex problem

2013-01-05 Thread crocket
Just an unrelated question here. What program did you draw zmq.png with? On Sat, Jan 5, 2013 at 4:39 PM, Lisen Guo 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

[zeromq-dev] zmq thread mutex problem

2013-01-04 Thread Lisen Guo
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

[zeromq-dev] Zmq thread mutex problem

2013-01-04 Thread Lisen Guo
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