pthread_kill prototype
Norman Vine
nhv@cape.com
Tue Mar 20 18:31:00 GMT 2001
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/vnd.ms-tnef
Size: 2496 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20010320/362d430c/attachment.tnef>
More information about the Cygwin-developers
mailing list