Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Originating-IP: [198.142.199.194]
From: "Gareth Pearce" <tilps@hotmail.com>
To: "Haksun Li" <haksunli@engin.umich.edu>
Cc: <cygwin@cygwin.com>
References: <Pine.SOL.4.33.0201240139430.7774-100000@blue.engin.umich.edu> <1011873248.5417.2.camel@lifelesswks>
Subject: Re: pthread_create or STL problem?
Date: Thu, 24 Jan 2002 23:14:04 +1100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <OE29IYJEDSgrNBNvsT0000132bb@hotmail.com>
X-OriginalArrivalTime: 24 Jan 2002 12:14:05.0609 (UTC) FILETIME=[9E1F5190:01C1A4D0]


----- Original Message -----
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Haksun Li" <haksunli@engin.umich.edu>
Cc: <cygwin@cygwin.com>
Sent: Thursday, January 24, 2002 10:54 PM
Subject: Re: pthread_create or STL problem?


> On Thu, 2002-01-24 at 17:40, Haksun Li wrote:
> > Dear all,
> >
> >
> >
> > I am testing out the following piece of code using Cygwin.
> >
> > It works as expected (exits when failing to create a new thread) under
> > Solaris and Linux.
> >
>
> AFAICT your crash is in your program. Possibly this is due to the C++
> compiler being built without a threading model (Anyone recall if this
> has been fixed or not?).
>
> Cygwin itself doesn't seem to be causing the crash, although it's
> strange that the program exits early with no warning :|... I'll look
> into that aspect.
>
> Rob
>

umm my first thoughts when i saw this problem was - run out of memory bug
... needs to increase his limit in the registry...

map<string,string> is Not small ... compared to map<int,int> at least...
and theres going to be one for each thread...
lots of memory being used ...

but its only a guess ... ;)

Gareth


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

