This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
RE: pthread_kill prototype
- To: "'Robert Collins'" <robert dot collins at itdomain dot com dot au>
- Subject: RE: pthread_kill prototype
- From: "Norman Vine" <nhv at cape dot com>
- Date: Tue, 20 Mar 2001 21:20:56 -0500
- Cc: <cygwin-developers at cygwin dot com>
- Reply-To: <nhv at cape dot com>
Robert Collins writes:
Norman Vine [mailto:nhv@cape.com] wrote:
>> >>
>> >
>> >Well someone may have done
>> >#ifdef __CYGWIN__
>> > pthread_kill(&var,sig)
>> >#else
>> > pthread_kill(var,sig)
>> >#endif
>>
>> 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
>>
>> I have worked around this before with some nasty hacks
>> but since Robert was redoing the package anyway I thought
>> it was an opportune time to bring this up.
>
>Are you up to rebuilding those pacakges? I will be breaking the ABI by
>fixing this - and it will be fixed this week.
>_POSIX_THREADS is referred to by
>http://www.opengroup.org/onlinepubs/007908799/xsh/threads.html as being
>present on XSI systems. Now as I don't know what an XSI system is, I
>wonder why _POSIX_THREADS showed up for you?
Python uses _POSIX_THREADS to distinguish pthreads from
other possible thread implementations
>I will be defining some of those symbols as I go along, but until I get
>the time to find a full blown pthreads test suite that'll run under
>cygwin... (Norman if you've got some interest.. hint hint)
It doesn't have a full blown test suite but GNU PTH has a fully
POXIX compilent pthread package that compiles and seems to
run just fine with Cygwin
Cheers
Norman Vine
winmail.dat