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

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <001a01c1fd5a$a7af44d0$7300a8c0@bubbalouey>
From: "Tim and Kathy Andvaag" <andvaag AT sk DOT sympatico DOT ca>
To: <cygwin AT cygwin DOT com>
Subject: Re: 1.1.3 and upwards: apparent bug with pthread_cond_wait() and/or signal()
Date: Thu, 16 May 2002 23:23:52 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

>> Between 1.1.3 and 1.3.0 a huge change occurred in the pthreads code
>> base, so this assumption is not safe. (It's not necessarily wrong
>> either.) I'd definitely be using 1.3.10 though.
>>
>> > #include <pthread.h>
>> > #include <iostream>
>>
>> The cygwin c++ libgcc, stdlibc++ and gcc are not built with thread
>> support, so C++ and threads may not work well together. C should work
>> fine, and if anyone convinces Chris to release a thread-enabled gcc, C++
>> should get better.
>Arrrgh - so that explains why so much of my source crashes randomly every
now
>and again...... (!)
>Please, please release thread-enabled C++ libs.

>Chris


Thanks for this hint.

I rebuilt gcc with
./configure --enable-threads=yes
make
make install

and it solved my intermittent problems with running/compiling the iperf
package (uses threads and C++ libs).

Is there a reason this is not the default?

Tim

P.S. why is:

$ nice -n -1 nice
0

Yet the adjusted priorities are clearly occuring when you look at the
windows task manager?



--
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