Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "Haksun Li" Cc: References: <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 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: X-OriginalArrivalTime: 24 Jan 2002 12:14:05.0609 (UTC) FILETIME=[9E1F5190:01C1A4D0] ----- Original Message ----- From: "Robert Collins" To: "Haksun Li" Cc: 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 is Not small ... compared to map 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/