delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/28/15:05:23

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 28 Jul 2008 15:04:50 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Multithreaded accept/connect hang (WSAEINPROGRESS)
Message-ID: <20080728190450.GB7379@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <00458A287E7A8D44941CBE06478DE90703E391BE AT ALPMLVEM15 DOT e2k DOT ad DOT ge DOT com>
MIME-Version: 1.0
In-Reply-To: <00458A287E7A8D44941CBE06478DE90703E391BE@ALPMLVEM15.e2k.ad.ge.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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 Mon, Jul 28, 2008 at 02:49:02PM -0400, Labarre, Jean (GE Healthcare) wrote:
>
>  Hello,
>
>I am working on a project making use of the cygwin X server (Xwin). One
>requirement we have is to avoid any potential security issue so I was
>trying to modify the Xwin window manager and clipboard code so that it
>would work with the "-nolisten tcp" option (currently, both window
>manager and clipboard run in threads and talk to the X display through a
>tcp/ip socket). The problem is, these modiifcations lead to hangs about
>30 to 40% of the time. 
>
>Using strace, I found out that the hangs coincide with a WSAEINPROGRESS
>error status being returned by connect. It's the same issue that is
>described here:
>http://sourceware.org/ml/cygwin/2007-06/msg00669.html. When I use a
>recent cygwin1.dll snapshot as suggested in this post, the locks do not
>happen. Unfortunately, we are not willing to use a snapshot in our
>product release.

"product release"?  That sounds like you are planning on becoming a 3PP
if you are using cygwin binaries in your release.

Maybe the solution would be to use the Xming server rather than the
Cygwin version.  The Xming server is reputed to work well and its
licensing will not result in us potentially taunting you for releasing a
your own copy of cygwin1.dll with your product and will not require us
asking you embarrassing questions like whether you understand how the
GPL works and what that means for any software you're building using
Cygwin.

>1- Do you have an idea of when the 1.7 cygwin release (with this fix
>included) will come out? I've read some mentions of "some time this
>year" in other posts, but I'd like to get a more definite date if at all
>possible...

We have no set date but we are working steadily towards a release.

I can't answer question 2.

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019