pthread_kill prototype

Robert Collins
Tue Mar 20 17:26:00 GMT 2001

Norman, if you use reply to all, it'll get to the mailing list.

> -----Original Message-----
> From: Norman Vine [ ]
> Sent: Wednesday, March 21, 2001 12:09 PM
> To: Robert Collins
> Subject: RE: pthread_kill prototype
> Robert Collins writes:
> >> 
> >> AFAICT, you're the first person to actually try to use the pthread
> >> stuff and make it work correctly.  If Cygwin's implementation 
> >> was wrong
> >> then I don't see how any programs could be ported to it.
> >> 
> >> cgf
> >> 
> >
> >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 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?

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)


> Cheers
> Norman Vine

More information about the Cygwin-developers mailing list