mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-30 17:41:16 +03:00
* descr.h (struct pthread): Add final member `end_padding'.
(PTHREAD_STRUCT_END_PADDING): Use it. 2006-02-20 Roland McGrath <roland@redhat.com> * sysdeps/mips: Directory removed, saved in ports repository. * sysdeps/unix/sysv/linux/mips: Likewise.
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
2006-02-23 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* descr.h (struct pthread): Add final member `end_padding'.
|
||||||
|
(PTHREAD_STRUCT_END_PADDING): Use it.
|
||||||
|
|
||||||
|
2006-02-20 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/mips: Directory removed, saved in ports repository.
|
||||||
|
* sysdeps/unix/sysv/linux/mips: Likewise.
|
||||||
|
|
||||||
2006-02-18 Ulrich Drepper <drepper@redhat.com>
|
2006-02-18 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* tst-robust1.c: Add second mutex to check that the mutex list is
|
* tst-robust1.c: Add second mutex to check that the mutex list is
|
||||||
|
@@ -305,12 +305,11 @@ struct pthread
|
|||||||
/* Resolver state. */
|
/* Resolver state. */
|
||||||
struct __res_state res;
|
struct __res_state res;
|
||||||
|
|
||||||
/* If you add fields after the res field above, please adjust
|
/* This member must be last. */
|
||||||
the following macro. */
|
char end_padding[];
|
||||||
#define PTHREAD_STRUCT_END_PADDING \
|
|
||||||
(sizeof (struct pthread) - offsetof (struct pthread, res) \
|
|
||||||
- sizeof (((struct pthread *) 0)->res))
|
|
||||||
|
|
||||||
|
#define PTHREAD_STRUCT_END_PADDING \
|
||||||
|
(sizeof (struct pthread) - offsetof (struct pthread, end_padding))
|
||||||
} __attribute ((aligned (TCB_ALIGNMENT)));
|
} __attribute ((aligned (TCB_ALIGNMENT)));
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user