delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/03/20/20:47:13

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Tue, 20 Mar 2001 20:47:05 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: pthread_kill prototype
Message-ID: <20010320204705.F1778@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <EA18B9FA0FE4194AA2B4CDB91F73C0EF02E273 AT itdomain002 DOT itdomain DOT net DOT au>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <EA18B9FA0FE4194AA2B4CDB91F73C0EF02E273@itdomain002.itdomain.net.au>; from robert.collins@itdomain.com.au on Wed, Mar 21, 2001 at 12:29:48PM +1100

On Wed, Mar 21, 2001 at 12:29:48PM +1100, Robert Collins wrote:
>
>> -----Original Message-----
>> From: Christopher Faylor [mailto:cgf AT redhat DOT com]
>> Sent: Wednesday, March 21, 2001 12:33 PM
>> To: cygwin-developers AT cygwin DOT com
>> Subject: Re: pthread_kill prototype
>> 
>> 
>> On Wed, Mar 21, 2001 at 12:20:24PM +1100, Robert Collins wrote:
>> >> actually this is only a problem when
>> >> #if defined(_POSIX_THREADS) 
>> >> 
>> >> which I do not believe is defined anywhere in Cygwin
>> >> so may never have beem picked up before
>> 
>> Someone asked recently if this should be done.  Since I don't
>> know much about pthreads, I didn't know how to respond.
>> 
>> If it makes sense to define _POSIX_PTHREADS (and it sounds 
>> like it does)
>> for Cygwin, I'll add that as a define for gcc 2.95.3.
>
>Not yet! _POSIX_THREADS means that the system supports a certain list of
>functions and symbols. We don't support that list yet. When we have
>enough support, I'll be sure to ask for _POSIX_THREADS (and about 6
>other related symbols).

I would hate to get into a situation where I have to make a new release
of gcc to accomodate this, though.  I see that this is defined in a header
controlled by unistd.h on linux, though, so maybe that is how this should
be handled, anyway.

cgf

- Raw text -


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