This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin slow on x64 systems
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 1 Sep 2010 14:37:18 -0400
- Subject: Re: Cygwin slow on x64 systems
- References: <4C7B9327.9030204@graphtech.co.il> <loom.20100831T222419-914@post.gmane.org> <loom.20100901T190726-553@post.gmane.org>
- Reply-to: 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