delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/24/07:15:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [198.142.199.194]
From: "Gareth Pearce" <tilps AT hotmail DOT com>
To: "Haksun Li" <haksunli AT engin DOT umich DOT edu>
Cc: <cygwin AT cygwin DOT com>
References: <Pine DOT SOL DOT 4 DOT 33 DOT 0201240139430 DOT 7774-100000 AT blue DOT engin DOT umich DOT edu> <1011873248 DOT 5417 DOT 2 DOT camel AT lifelesswks>
Subject: Re: pthread_create or STL problem?
Date: Thu, 24 Jan 2002 23:14:04 +1100
MIME-Version: 1.0
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 DOT collins AT itdomain DOT com DOT au>
To: "Haksun Li" <haksunli AT engin DOT umich DOT edu>
Cc: <cygwin AT cygwin DOT 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/

- Raw text -


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