[prev in list] [next in list] [prev in thread] [next in thread]
List: zeromq-dev
Subject: [zeromq-dev] =?koi8-r?b?SEE6IAlIQTogSEE6IO7hOiBzMzkweCBidWlsZCBm?= =?koi8-r?b?YWlsdXJl?=
From: Sergey Hripchenko <shripchenko () intermedia ! net>
Date: 2012-04-25 18:45:34
Message-ID: 25691707.602107.1335379536827.JavaMail.root () emg-ca-1-1 ! securemail ! intermedia ! net
[Download RAW message or body]
True(I guess it could...).
But why should I either have to do that?
(assuming that TERM command is already sent in zmq_unbind(), and all future \
commands/events handling performed in ZMQ IO thread... Since all objects below \
socket_base_t live in ZMQ thread space). Thats why I call it 'issue' ^)
________________________________________
От: zeromq-dev-bounces@lists.zeromq.org [zeromq-dev-bounces@lists.zeromq.org] от \
имени Paul Colomiets [paul@colomiets.name] Отправлено: 25 апреля 2012 г. 22:36
To: ZeroMQ development list
Тема: Re: [zeromq-dev] HA: HA: НА: s390x build failure
Hi Sergey,
On Wed, Apr 25, 2012 at 7:35 PM, Sergey Hripchenko
<shripchenko@intermedia.net> wrote:
> I was hoping that you have more exotic OS ^)
>
> About issue: zmq_sleep (1) should be _enough_ for everything.
> However, for example I found that:
> PUSH->connect()
> PUSH->recv() > 0
> PUSH->disconnect()
> // and this will leave PUSH -> session_base_t -> tcp_connecter_t forever
> until you call some io functions like PUSH->recv(ZMQ_DONTWAIT)=-1
> // the TERM command simply _NOT_ propagaded from
> session_base_t::process_term_req()(called in application thread) to
> tcp_connecter_t::process_term()(called in ZMQ IO thread)
>
> Not sure if anyone interested in this issue...
I think you should try replace sleep() to zmq_poll on that socket,
this may fix the problem.
--
Paul
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
________________________________
This message is intended only for the person(s) to which it is addressed and may \
contain Intermedia.net Inc privileged, confidential and/or proprietary information. \
If you have received this communication in error, please notify us immediately by \
replying to the message and deleting it from your computer. Any disclosure, copying, \
distribution, or the taking of any action concerning the contents of this message and \
any attachment(s) by anyone other than the named recipient(s) is strictly prohibited. \
_______________________________________________ zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic