[zeromq-dev] simple python example for 0MQ/2.0
Martin Sustrik
sustrik at fastmq.com
Thu Oct 8 10:53:26 CEST 2009
tom wrote:
> Hello Malo,
>
> Check the wire with some t/wireshark if message is send out from
> client, if
> no add some sleep at the end of the client (have a look into
> perf/python/remote_thr.py)
>
>
> thank you for your reply. the sleep() fixed it !
>
> does anyone know why this would fix it ?
> usually if you have to fix something in a program by using sleep() means
> that there is an underlying race condition.
See the previous email. Subscriber is joining to the existing continuous
publisher feed. If it happens to join after messages X was sent, it'll
never get it. However, it'll get all the subsequent messages.
Martin
More information about the zeromq-dev
mailing list