[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: r1291 - in glibc-package/branches/glibc-2.4/debian: . patches



On Sat, Mar 11, 2006 at 06:14:37AM +0000, Clint Adams wrote:
> +Index: glibc-2.4/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h
> +===================================================================
> +--- glibc-2.4.orig/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h	2006-03-11 01:05:57.000000000 -0500
> ++++ glibc-2.4/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h	2006-03-11 01:10:02.000000000 -0500
> +@@ -149,4 +149,17 @@
> + /* Thread identifiers */
> + typedef unsigned long int pthread_t;
> + 
> ++#if __WORDSIZE == 64
> ++typedef struct __pthread_internal_list
> ++{
> ++  struct __pthread_internal_list *__prev;
> ++  struct __pthread_internal_list *__next;
> ++} __pthread_list_t;
> ++#else
> ++typedef struct __pthread_internal_slist
> ++{
> ++  struct __pthread_internal_slist *__next;
> ++} __pthread_slist_t;
> ++#endif
> ++
> + #endif	/* bits/pthreadtypes.h */

What needed this?  These ought to be internal to NPTL, as far as I
know.

-- 
Daniel Jacobowitz
CodeSourcery



Reply to: