From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3735 invoked by alias); 30 Sep 2008 00:10:29 -0000 Received: (qmail 3723 invoked by uid 22791); 30 Sep 2008 00:10:27 -0000 X-Spam-Check-By: sourceware.org Received: from rv-out-0708.google.com (HELO rv-out-0708.google.com) (209.85.198.244) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 30 Sep 2008 00:09:27 +0000 Received: by rv-out-0708.google.com with SMTP id b17so2184797rvf.48 for ; Mon, 29 Sep 2008 17:09:25 -0700 (PDT) Received: by 10.142.125.4 with SMTP id x4mr2458169wfc.324.1222733365393; Mon, 29 Sep 2008 17:09:25 -0700 (PDT) Received: by 10.143.167.8 with HTTP; Mon, 29 Sep 2008 17:09:25 -0700 (PDT) Message-ID: Date: Tue, 30 Sep 2008 00:10:00 -0000 From: "Ramiro Polla" To: pthreads-win32@sourceware.org Subject: Re: _POSIX_C_SOURCE-related problems In-Reply-To: <48E15CF6.4020402@homemail.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E1175C.3020400@lisha.ufsc.br> <48E15CF6.4020402@homemail.com.au> Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2008/txt/msg00052.txt.bz2 Hello, On Mon, Sep 29, 2008 at 7:55 PM, Ross Johnson wrote: > This came up recently and a temporary fix was placed in CVS (sched.h). Hmm... I wonder how I missed that thread [0]. > Really though, the PTW32_LEVEL stuff needs to be reviewed and appears to be > incorrect, i.e. the line in both sched.h and pthread.h > > #if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199309 > > is setting PTW32_LEVEL equal to 1, which is wrong for you (should be 3). Thanks, Ramiro Polla [0] http://sourceware.org/ml/pthreads-win32/2008/msg00045.html