[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    [zeromq-dev] =?koi8-r?b?SEE6IAlIQTogIO7hOiAgczM5MHggYnVpbGQgZmFp?= =?koi8-r?b?bHVyZQ==?=
From:       Sergey Hripchenko <shripchenko () intermedia ! net>
Date:       2012-04-25 16:35:35
Message-ID: 9485201.597881.1335371737233.JavaMail.root () emg-ca-1-1 ! securemail ! intermedia ! net
[Download RAW message or body]

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...





________________________________
От: zeromq-dev-bounces@lists.zeromq.org [zeromq-dev-bounces@lists.zeromq.org] от \
имени Neale Ferguson [neale@sinenomine.net] Отправлено: 25 апреля 2012 г. 20:28
To: ZeroMQ development list
Тема: Re: [zeromq-dev] HA: НА: s390x build failure

Changing the sleep from 1->3 allows the test to pass. The system is very constrained \
so the extra sleep appears necessary to give things time to calm down. However, there \
should be a better mechanism.


On 4/25/12 12:09 PM, "Sergey Hripchenko" \
<shripchenko@intermedia.net<UrlBlockedError.aspx>> wrote:

Not bizarre at all ^) Since all event/commands handling is in different ZMQ IO \
threads. So it's all about timings and race conditions during async commands \
propagation. And I want to admit that ZMQ has a lot of problems with commands \
propagation/handling... Not sure that anyone interested in it through...


Could you please tell for what OS you building ZMQ?

________________________________

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.


[Attachment #3 (text/html)]

<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style id="owaParaStyle" type="text/css">
<!--
p
	{margin-top:0;
	margin-bottom:0}
-->
</style>
</head>
<body>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">I was \
hoping that you have more exotic OS ^)<br> <br>
About issue: zmq_sleep (1) should be _enough_ for everything.<br>
However, for example I found that:<br>
PUSH-&gt;connect()<br>
PUSH-&gt;recv() &gt; 0<br>
PUSH-&gt;disconnect()<br>
// and this will leave PUSH -&gt; session_base_t -&gt; tcp_connecter_t forever until \
you call some io functions like PUSH-&gt;recv(ZMQ_DONTWAIT)=-1<br> // 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)<br> \
<br> Not sure if anyone interested in this issue...<br>
<br>
<br>
<br>
<br>
<br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF414549" style="direction:ltr"><font color="#000000" face="Tahoma" \
size="2"><b>От:</b> zeromq-dev-bounces@lists.zeromq.org \
[zeromq-dev-bounces@lists.zeromq.org] от имени Neale Ferguson \
[neale@sinenomine.net]<br> <b>Отправлено:</b> 25 апреля 2012 г. 20:28<br>
<b>To:</b> ZeroMQ development list<br>
<b>Тема:</b> Re: [zeromq-dev] HA: НА: s390x build failure<br>
</font><br>
</div>
<div></div>
<div><font face="Calibri, Verdana, Helvetica, Arial"><span \
style="font-size:11pt">Changing the sleep from 1-&gt;3 allows the test to pass. The \
system is very constrained so the extra sleep appears necessary to give things time \
to calm down. However, there should  be a better mechanism.<br>
<br>
<br>
On 4/25/12 12:09 PM, &quot;Sergey Hripchenko&quot; &lt;<a href="UrlBlockedError.aspx" \
target="_blank">shripchenko@intermedia.net</a>&gt; wrote:<br> <br>
</span></font>
<blockquote><font size="2"><font face="Tahoma, Verdana, Helvetica, Arial"><span \
style="font-size:10pt">Not bizarre at all ^) Since all event/commands handling is in \
different ZMQ IO threads. So it's all about timings and race conditions during async \
commands  propagation.<br>
And I want to admit that ZMQ has a lot of problems with commands \
propagation/handling... Not sure that anyone interested in it through...<br> <br>
<br>
Could you please tell for what OS you building ZMQ?</span></font></font></blockquote>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
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.<br> </font>
</body>
</html>



_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

--===============0750471509184296248==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic