This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] libgcc: refer to pthread_create, not pthread_cancel
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Roland McGrath <mcgrathr at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 27 Jan 2012 08:42:25 +0100
- Subject: Re: [PATCH] libgcc: refer to pthread_create, not pthread_cancel
- References: <x57jobtqx89w.fsf@frobland.mtv.corp.google.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Jan 26, 2012 at 05:07:38PM -0800, Roland McGrath wrote:
> What do folks think about this change? It obviously should have no effect
> whatsoever on builds not using glibc. I'm pretty confident that it won't
> have any bad effect on a build using any extant version of glibc that had
> pthreads at all.
>
pthread_create is what has been referenced there up to GCC 3.4.
So please see the rationale for changing it from pthread_create to
pthread_cancel.
http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01093.html
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg02517.html
(and lots of gcc-patches mails in between the two).
Jakub