[zeromq-dev] Need to PUB / REQ from multiple threads
Martin Sustrik
sustrik at 250bpm.com
Mon Jan 10 09:19:52 CET 2011
On 01/09/2011 10:32 PM, Gaspard Bucher wrote:
> ======= Receiving code (in another process) :
>
> zmq_msg_t msg;
> zmq_msg_init(&msg);
>
>
> { // unlock worker
> ScopedUnlock unlock(worker_);
>
> if (zmq_recv(socket_, &msg, 0)) { // <<<<< Hangs here
> zmq_msg_close(&msg);
> throw_recv_error(errno);
> }
> }
>
> Any idea on what could cause these dropped messages ?
Looks like you server is not sending a response.
Martin
More information about the zeromq-dev
mailing list