delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <ba40711f0606292036q1a5e5e0dw37349a19247ef97c@mail.gmail.com> |
Date: | Thu, 29 Jun 2006 23:36:41 -0400 |
From: | "Lev Bishop" <lev DOT bishop AT gmail DOT com> |
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 |
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 |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |