This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: pthread_kill prototype
http://sources.redhat.com/ml/cygwin/2001-03/msg01276.html
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.
Rob
----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin-developers@cygwin.com>
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 & thread.cc (conflicts with
> >newlibs sys/signal.h). Looking at doco on the web, the correct answer
is
> >to change thread.cc, 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
>