mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
1999-07-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> * linuxthreads/internals.h: Align _pthread_descr_struct to 32 bytes. Reported by Tim Hockin <thockin@cobaltnet.com>, close PR libc/1206.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
1999-07-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||||
|
|
||||||
|
* linuxthreads/internals.h: Align _pthread_descr_struct to 32
|
||||||
|
bytes.
|
||||||
|
Reported by Tim Hockin <thockin@cobaltnet.com>, close PR
|
||||||
|
libc/1206.
|
||||||
|
|
||||||
1999-07-09 Ulrich Drepper <drepper@cygnus.com>
|
1999-07-09 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* oldsemaphore.c (sem_compare_and_swap): Fix use of compare and
|
* oldsemaphore.c (sem_compare_and_swap): Fix use of compare and
|
||||||
|
@ -106,7 +106,12 @@ struct _pthread_descr_struct {
|
|||||||
size_t p_guardsize; /* size of guard area */
|
size_t p_guardsize; /* size of guard area */
|
||||||
pthread_descr p_self; /* Pointer to this structure */
|
pthread_descr p_self; /* Pointer to this structure */
|
||||||
int p_nr; /* Index of descriptor in __pthread_handles */
|
int p_nr; /* Index of descriptor in __pthread_handles */
|
||||||
};
|
} __attribute__ ((aligned(32))); /* We need to align the structure so that
|
||||||
|
doubles are aligned properly. This is 8
|
||||||
|
bytes on MIPS and 16 bytes on MIPS64.
|
||||||
|
32 bytes might give better cache
|
||||||
|
utilization. */
|
||||||
|
|
||||||
|
|
||||||
/* The type of thread handles. */
|
/* The type of thread handles. */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user