pthread_kill prototype

Robert Collins
Tue Mar 20 15:21:00 GMT 2001

pthread_kill is current defined in pthread.h as int
pthread_kill(pthread_t *, int sig);

it is also defined in sys/signal.h as
int pthread_kill(pthread_t, int sig);

the definition in sys/signal.h is the posixly correct one.


----- Original Message -----
From: "Christopher Faylor" <>
To: <>
Sent: Wednesday, March 21, 2001 10:12 AM
Subject: Re: pthread_kill prototype

> On Wed, Mar 21, 2001 at 09:49:23AM +1100, Robert Collins wrote:
> >Chris,
> >  what was the verdict on fixing this? pthread_kill is protoyped (and
> >implemented) incorrectly in pthread.h & (conflicts with
> >newlibs sys/signal.h). Looking at doco on the web, the correct answer
> >to change, but that will break binary compatibility.
> I don't recall this being discussed before.  What is the difference
> in prototyping that will break compatibility?  More details, please.
> cgf

More information about the Cygwin-developers mailing list