This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Intermittent cygwin heap allocation problem
- From: "Brett Serkez" <techie at serkez dot net>
- To: "Dave Korn" <dave dot korn at artimi dot com>, cygwin at cygwin dot com
- Date: Wed, 18 Jan 2006 10:52:39 -0500
- Subject: RE: Intermittent cygwin heap allocation problem
- References: <SERRANOdcx3Vp20N39x000001b5@SERRANO.CAM.ARTIMI.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/