patches/glibc/linuxthreads-2.2.5/threadparam.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
yann@1
     1
2002-05-21  Ulrich Drepper  <drepper@redhat.com>
yann@1
     2
yann@1
     3
	* sysdeps/pthread/pthread.h (pthread_create): Rename first parameter.
yann@1
     4
	(pthread_cancel): Likewise.
yann@1
     5
	* internals.h (__pthread_create_2_1): Likewise.
yann@1
     6
	* sysdeps/unix/sysv/linux/bits/sigthread.h (pthread_kill): Likewise.
yann@1
     7
===================================================================
yann@1
     8
RCS file: /cvs/glibc/libc/linuxthreads/internals.h,v
yann@1
     9
retrieving revision 1.69.2.2
yann@1
    10
retrieving revision 1.69.2.3
yann@1
    11
diff -u -r1.69.2.2 -r1.69.2.3
yann@1
    12
--- libc/linuxthreads/internals.h	2002/03/22 08:30:32	1.69.2.2
yann@1
    13
+++ libc/linuxthreads/internals.h	2002/08/20 22:01:25	1.69.2.3
yann@1
    14
@@ -554,7 +554,7 @@
yann@1
    15
 /* Prototypes for compatibility functions.  */
yann@1
    16
 extern int __pthread_attr_init_2_1 (pthread_attr_t *__attr);
yann@1
    17
 extern int __pthread_attr_init_2_0 (pthread_attr_t *__attr);
yann@1
    18
-extern int __pthread_create_2_1 (pthread_t *__restrict __thread,
yann@1
    19
+extern int __pthread_create_2_1 (pthread_t *__restrict __threadp,
yann@1
    20
 				 const pthread_attr_t *__attr,
yann@1
    21
 				 void *(*__start_routine) (void *),
yann@1
    22
 				 void *__restrict __arg);
yann@1
    23
===================================================================
yann@1
    24
RCS file: /cvs/glibc/libc/linuxthreads/sysdeps/pthread/pthread.h,v
yann@1
    25
retrieving revision 1.31
yann@1
    26
retrieving revision 1.31.2.1
yann@1
    27
diff -u -r1.31 -r1.31.2.1
yann@1
    28
--- libc/linuxthreads/sysdeps/pthread/pthread.h	2001/03/15 21:12:31	1.31
yann@1
    29
+++ libc/linuxthreads/sysdeps/pthread/pthread.h	2002/08/20 22:01:26	1.31.2.1
yann@1
    30
@@ -160,7 +160,7 @@
yann@1
    31
 /* Create a thread with given attributes ATTR (or default attributes
yann@1
    32
    if ATTR is NULL), and call function START_ROUTINE with given
yann@1
    33
    arguments ARG.  */
yann@1
    34
-extern int pthread_create (pthread_t *__restrict __thread,
yann@1
    35
+extern int pthread_create (pthread_t *__restrict __threadp,
yann@1
    36
 			   __const pthread_attr_t *__restrict __attr,
yann@1
    37
 			   void *(*__start_routine) (void *),
yann@1
    38
 			   void *__restrict __arg) __THROW;
yann@1
    39
@@ -588,7 +588,7 @@
yann@1
    40
 extern int pthread_setcanceltype (int __type, int *__oldtype) __THROW;
yann@1
    41
 
yann@1
    42
 /* Cancel THREAD immediately or at the next possibility.  */
yann@1
    43
-extern int pthread_cancel (pthread_t __thread) __THROW;
yann@1
    44
+extern int pthread_cancel (pthread_t __cancelthread) __THROW;
yann@1
    45
 
yann@1
    46
 /* Test for pending cancellation for the current thread and terminate
yann@1
    47
    the thread as per pthread_exit(PTHREAD_CANCELED) if it has been
yann@1
    48
===================================================================
yann@1
    49
RCS file: /cvs/glibc/libc/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h,v
yann@1
    50
retrieving revision 1.5
yann@1
    51
retrieving revision 1.5.2.1
yann@1
    52
diff -u -r1.5 -r1.5.2.1
yann@1
    53
--- libc/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h	2000/08/21 06:48:03	1.5
yann@1
    54
+++ libc/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h	2002/08/20 22:01:26	1.5.2.1
yann@1
    55
@@ -1,5 +1,5 @@
yann@1
    56
 /* Signal handling function for threaded programs.
yann@1
    57
-   Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
yann@1
    58
+   Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
yann@1
    59
    This file is part of the GNU C Library.
yann@1
    60
 
yann@1
    61
    The GNU C Library is free software; you can redistribute it and/or
yann@1
    62
@@ -33,6 +33,6 @@
yann@1
    63
 			    __sigset_t *__restrict __oldmask)__THROW;
yann@1
    64
 
yann@1
    65
 /* Send signal SIGNO to the given thread. */
yann@1
    66
-extern int pthread_kill (pthread_t __thread, int __signo) __THROW;
yann@1
    67
+extern int pthread_kill (pthread_t __threadid, int __signo) __THROW;
yann@1
    68
 
yann@1
    69
 #endif	/* bits/sigthread.h */