Mail Archives: cygwin-developers/2001/03/20/20:47:13
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 -