mirror of git://sourceware.org/git/glibc.git
nptl: Remove unused members from struct pthread
It removes both pid_ununsed and cpuclock_offset_ununsed, saving about 12 bytes from struct pthread. Reviewed-by: Arjun Shankar <arjun@redhat.com>
This commit is contained in:
parent
ecd0fbebc0
commit
d55df811e9
|
@ -172,9 +172,6 @@ struct pthread
|
||||||
therefore stack) used' flag. */
|
therefore stack) used' flag. */
|
||||||
pid_t tid;
|
pid_t tid;
|
||||||
|
|
||||||
/* Ununsed. */
|
|
||||||
pid_t pid_ununsed;
|
|
||||||
|
|
||||||
/* List of robust mutexes the thread is holding. */
|
/* List of robust mutexes the thread is holding. */
|
||||||
#if __PTHREAD_MUTEX_HAVE_PREV
|
#if __PTHREAD_MUTEX_HAVE_PREV
|
||||||
void *robust_prev;
|
void *robust_prev;
|
||||||
|
@ -342,10 +339,6 @@ struct pthread
|
||||||
/* Lock for synchronizing setxid calls. */
|
/* Lock for synchronizing setxid calls. */
|
||||||
unsigned int setxid_futex;
|
unsigned int setxid_futex;
|
||||||
|
|
||||||
#if HP_TIMING_INLINE
|
|
||||||
hp_timing_t cpuclock_offset_ununsed;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* If the thread waits to join another one the ID of the latter is
|
/* If the thread waits to join another one the ID of the latter is
|
||||||
stored here.
|
stored here.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue