[zeromq-dev] XREP socket handler seg faulting

John W Higgins wishdev at gmail.com
Fri Oct 8 05:57:12 CEST 2010


Good Evening,

On Thu, Oct 7, 2010 at 8:35 PM, Roger Voss <roger.dewayne at gmail.com> wrote:

> *My first multi-threaded XREP handler works for a burst of client request
> but eventually I can make it fault by pushing lots of request at it (am
> using zmq 2.0.9 release):*
>
> ...
>
> *I'm binding the zmq socket once and then each thread attempts to use that
> zmq socket for its respective call to zmq_recv() and eventually zmq_send().
> *
> *
> *
> *Every time one thread gets a msg from zmq_recv(), another thread is
> started so as to call zmq_recv() while the original thread processes its msg
> and returns a response to the client.*
> *
> *
> *I'm under the impression that a socket returned
> by zmq_socket(ctx,ZMQ_XREQ) is thread safe. Am I mistaken?*
>


http://zguide.zeromq.org/chapter:all#toc32

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101007/d5210842/attachment.htm>


More information about the zeromq-dev mailing list