delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/18/10:52:54

X-Spam-Check-By: sourceware.org
Message-Id: <1137599559.410.252150621@webmail.messagingengine.com>
From: "Brett Serkez" <techie AT serkez DOT net>
To: "Dave Korn" <dave DOT korn AT artimi DOT com>, cygwin AT cygwin DOT com
MIME-Version: 1.0
References: <SERRANOdcx3Vp20N39x000001b5 AT SERRANO DOT CAM DOT ARTIMI DOT COM>
Subject: RE: Intermittent cygwin heap allocation problem
In-Reply-To: <SERRANOdcx3Vp20N39x000001b5@SERRANO.CAM.ARTIMI.COM>
Date: Wed, 18 Jan 2006 10:52:39 -0500
X-IsSubscribed: yes
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

[snip]
> > I also find the sleep(2000) in heap.cc when the mapping error is
> > detected rather suspicious - is this to avoid a race condition with
> > the parent?
>
>   Dunno, suspect it may have been something experimental.  Take a look
>   at when it arrived in the CVS and check the associated changelog
>   entry.

Humm....  I wonder if this is contributing the slowness I've been seeing
during process creation....  In your opinion, is this code (sleep)
likely to be hit often?  By any chance, how do you know how sleep is
implemented, does it use the OS to be awakened, or does it loop?

Brett
----------------------------------------------------------------
Brett C. Serkez, Techie


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