Pieter Hintjens wrote:
> Hi all,
>
> For the benefit of the list, because we thrashed this out on IRC, the
> cause of this problem turned out to be creating sockets in one thread
> and passing them to another.  It was an easy error to make, since the
> main() has to start a queue device as a background thread, so David
> put that piece into a separate thread but not the socket creation
> part.
>
>   
good news
> On the way I cleaned up / rewrote the code and it's here:
> http://gist.github.com/572417
>
>   
however won't this example only work with one worker thread?
(which is all it has, if you pthread_create another it'll fail to bind 
as the)


jon
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to