X-Spam-Check-By: sourceware.org Message-ID: Date: Thu, 29 Jun 2006 23:36:41 -0400 From: "Lev Bishop" To: cygwin AT cygwin DOT com Subject: Re: rsync over ssh hang issue understood In-Reply-To: <20060630013916.GA5859@trixie.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44A348D1 DOT 6070908 AT netbauds DOT net> <44A4666A DOT 6020108 AT netbauds DOT net> <20060630013916 DOT GA5859 AT trixie DOT casa DOT cgf DOT cx> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 6/29/06, Christopher Faylor wrote: > For the record, I'm not wild about scrapping the existing (but currently > turned off) code in cygwin that is supposed to fix this. Using the NT > api was supposed to allow us to do what we wanted with no half-measures. > I'd rather see someone finish that, or at least prove that it doesn't > work, before scrapping it and move on to something else. I have a cunning idea (probably too cunning) to make the current code work and I will hopefully be able to submit a short patch in a day or two. > The idea of using threads for pipe writing has been bounced around for a > long time. It doesn't solve the select problem if there are multiple > processes writing to one pipe. That is not a completely unusual event, > unfortunately. Could you be more specific on how it doesn't solve the select problem in when there are multiple processes writing on the pipe? As far as I can tell, if (and its a big if) we can build something with threads that works for a single process, it should work just as well for multiple processes. Can you give an example sequence of writes and selects that illustrates the problem? (Not that I think the thread approach is without problems, I just can't see this one). Lev -- 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/