From c77ec56d0cd4ae44b03a9eebeeeaaf88850a892d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 5 May 2000 08:07:07 +0000 Subject: Update. * elf/Makefile (distribute): Add dl-lookupcfg.h. * sysdeps/ia64/Dist: New file. --- linuxthreads/internals.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'linuxthreads/internals.h') diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h index 079bf2cd64..b257be0279 100644 --- a/linuxthreads/internals.h +++ b/linuxthreads/internals.h @@ -124,6 +124,12 @@ typedef struct _pthread_rwlock_info { } pthread_readlock_info; struct _pthread_descr_struct { + union { + struct { + pthread_descr self; /* Pointer to this structure */ + } data; + void *__padding[16]; + } p_header; pthread_descr p_nextlive, p_prevlive; /* Double chaining of active threads */ pthread_descr p_nextwaiting; /* Next element in the queue holding the thr */ @@ -157,7 +163,6 @@ struct _pthread_descr_struct { int p_userstack; /* nonzero if the user provided the stack */ void *p_guardaddr; /* address of guard area or NULL */ size_t p_guardsize; /* size of guard area */ - pthread_descr p_self; /* Pointer to this structure */ int p_nr; /* Index of descriptor in __pthread_handles */ int p_report_events; /* Nonzero if events must be reported. */ td_eventbuf_t p_eventbuf; /* Data for event. */ -- cgit v1.2.3