Subject: Re: pthread_create or STL problem?
From: "Gareth Pearce" <[email-masked]>
To: "Haksun Li" <[email-masked]>
Cc: <[email-masked]>
Date: Thu, 24 Jan 2002 23:14:04 +1100

----- Original Message -----
From: "Robert Collins" <[email-masked]>
To: "Haksun Li" <[email-masked]>
Cc: <[email-masked]>
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/