X-Spam-Check-By: sourceware.org
Message-ID: <44AE221E.1010107@netbauds.net>
Date: 	Fri, 07 Jul 2006 09:58:06 +0100
From: Darryl Miles <darryl-mailinglists@netbauds.net>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.4) Gecko/20060614 SeaMonkey/1.0.2
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: rsync over ssh hang issue understood
References: <005f01c6a164$37793650$a501a8c0@CAM.ARTIMI.COM> <44ADE056.307@netbauds.net> <ba40711f0607062238r1a30b097g3bd90e9765c20c92@mail.gmail.com> <44AE109E.3080003@netbauds.net> <20060707075846.GB11454@calimero.vinschen.de>
In-Reply-To: <20060707075846.GB11454@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Corinna Vinschen wrote:
> On Jul  7 08:43, Darryl Miles wrote:
>> What was the reason the existing code in CVS for select.cc was disabled?
>>
>> Maybe it would help to better understand the reasons/cases where the 
>> disabled code failed.
> 
> Hangs with native Windows applications, AFAIR.

I take this to mean a CYGWIN app is on one end and a native app on the 
other.

Remember the test case ?

When it hangs can you remember who was reading and who was writing.

Is there a native standard app in Win2k/XP that can be used ?



In MSDN there is:

"The pipe server should not perform a blocking read operation until the 
pipe client has started.  Otherwise, a race condition can occur.  This 
typically occurs when initialization code, such as the C run-time, needs 
to lock and examine inherited handles."

Could this be related ?  Does anyone on the list know the background of 
the statement, it sounds like a Windows documented bug/feature.


How is the notion of Server or Client end given when both ends are only 
using Open/Read/Write and never using CallNamedPipe, ConnectNamedPipe, 
WaitNamedPipe.  Is the creator automatically the server ?



Darryl

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

