www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/01/14:37:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 1 Sep 2010 14:37:18 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin slow on x64 systems
Message-ID: <20100901183718.GD15157@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4C7B9327 DOT 9030204 AT graphtech DOT co DOT il> <loom DOT 20100831T222419-914 AT post DOT gmane DOT org> <loom DOT 20100901T190726-553 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20100901T190726-553@post.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Wed, Sep 01, 2010 at 05:12:19PM +0000, Magnus Holmgren wrote:
>Magnus Holmgren <magnushol <at> gmail.com> writes:
>
>> I did some testing on my 64-bit Vista system, and it appears that 
>> CreateThread is the main cause.
>
>I think I've found the reason for the slow CreateThread. It seems like
>the following remark in the MSDN documentation is relevant, at least for
>WOW64 processes:
>
> * During process startup and DLL initialization routines, new threads can
>   be created, but they do not begin execution until DLL initialization is
>   done for the process.

Which was precisely why sigproc_init was called there to begin with.

cgf

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

- Raw text -


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