]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/glibc/glibc-2.2.5/threadparam.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / glibc / glibc-2.2.5 / threadparam.patch
1 2002-05-21  Ulrich Drepper  <drepper@redhat.com>
2
3         * sysdeps/pthread/pthread.h (pthread_create): Rename first parameter.
4         (pthread_cancel): Likewise.
5         * internals.h (__pthread_create_2_1): Likewise.
6         * sysdeps/unix/sysv/linux/bits/sigthread.h (pthread_kill): Likewise.
7 ===================================================================
8 RCS file: /cvs/glibc/libc/linuxthreads/internals.h,v
9 retrieving revision 1.69.2.2
10 retrieving revision 1.69.2.3
11 diff -u -r1.69.2.2 -r1.69.2.3
12 --- libc/linuxthreads/internals.h       2002/03/22 08:30:32     1.69.2.2
13 +++ libc/linuxthreads/internals.h       2002/08/20 22:01:25     1.69.2.3
14 @@ -554,7 +554,7 @@
15  /* Prototypes for compatibility functions.  */
16  extern int __pthread_attr_init_2_1 (pthread_attr_t *__attr);
17  extern int __pthread_attr_init_2_0 (pthread_attr_t *__attr);
18 -extern int __pthread_create_2_1 (pthread_t *__restrict __thread,
19 +extern int __pthread_create_2_1 (pthread_t *__restrict __threadp,
20                                  const pthread_attr_t *__attr,
21                                  void *(*__start_routine) (void *),
22                                  void *__restrict __arg);
23 ===================================================================
24 RCS file: /cvs/glibc/libc/linuxthreads/sysdeps/pthread/pthread.h,v
25 retrieving revision 1.31
26 retrieving revision 1.31.2.1
27 diff -u -r1.31 -r1.31.2.1
28 --- libc/linuxthreads/sysdeps/pthread/pthread.h 2001/03/15 21:12:31     1.31
29 +++ libc/linuxthreads/sysdeps/pthread/pthread.h 2002/08/20 22:01:26     1.31.2.1
30 @@ -160,7 +160,7 @@
31  /* Create a thread with given attributes ATTR (or default attributes
32     if ATTR is NULL), and call function START_ROUTINE with given
33     arguments ARG.  */
34 -extern int pthread_create (pthread_t *__restrict __thread,
35 +extern int pthread_create (pthread_t *__restrict __threadp,
36                            __const pthread_attr_t *__restrict __attr,
37                            void *(*__start_routine) (void *),
38                            void *__restrict __arg) __THROW;
39 @@ -588,7 +588,7 @@
40  extern int pthread_setcanceltype (int __type, int *__oldtype) __THROW;
41  
42  /* Cancel THREAD immediately or at the next possibility.  */
43 -extern int pthread_cancel (pthread_t __thread) __THROW;
44 +extern int pthread_cancel (pthread_t __cancelthread) __THROW;
45  
46  /* Test for pending cancellation for the current thread and terminate
47     the thread as per pthread_exit(PTHREAD_CANCELED) if it has been
48 ===================================================================
49 RCS file: /cvs/glibc/libc/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h,v
50 retrieving revision 1.5
51 retrieving revision 1.5.2.1
52 diff -u -r1.5 -r1.5.2.1
53 --- libc/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h  2000/08/21 06:48:03     1.5
54 +++ libc/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h  2002/08/20 22:01:26     1.5.2.1
55 @@ -1,5 +1,5 @@
56  /* Signal handling function for threaded programs.
57 -   Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
58 +   Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
59     This file is part of the GNU C Library.
60  
61     The GNU C Library is free software; you can redistribute it and/or
62 @@ -33,6 +33,6 @@
63                             __sigset_t *__restrict __oldmask)__THROW;
64  
65  /* Send signal SIGNO to the given thread. */
66 -extern int pthread_kill (pthread_t __thread, int __signo) __THROW;
67 +extern int pthread_kill (pthread_t __threadid, int __signo) __THROW;
68  
69  #endif /* bits/sigthread.h */