[zeromq-dev] Multithreaded Example in C - odd behavior

Pieter Hintjens ph at imatix.com
Sat Aug 14 13:39:17 CEST 2010

Hi Radu,

> I'm trying to run in parallel 2 clients of the "Multithreaded Example in C"
>  - using exactly the code presented in the Guide
> (http://www.zeromq.org/docs:user-guide) for both the server & the client.
> The 1st client is started before the 2nd. The moment the 1st finishes the
> 2nd blocks w/o its job being finished. Restarting the 1st unblocks the 2nd
> but of course the 1st blocks as soon as the 2nd finishes a.s.o
> Any input in this matter much appreciated

What OS are you using?  I've just run this test (in three windows)

* start server
* start client 1
* start client 2

And it works as expected.

Pieter Hintjens

More information about the zeromq-dev mailing list