mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
2003-03-10 Roland McGrath <roland@redhat.com>
* td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.' prefix for `struct pthread' members. * td_thr_validate.c (check_thread_list): Likewise. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise.
This commit is contained in:
parent
f73acc206a
commit
8e6922b50d
@ -50,8 +50,7 @@ iterate_thread_list (const td_thragent_t *ta, td_thr_iter_f *callback,
|
||||
|
||||
while (list.next != head)
|
||||
{
|
||||
psaddr_t addr = ((psaddr_t) list.next
|
||||
- offsetof (struct pthread, list));
|
||||
psaddr_t addr = ((psaddr_t) list.next - offsetof (struct pthread, list));
|
||||
|
||||
int schedpolicy;
|
||||
if (ps_pdread (ta->ph, &((struct pthread *) addr)->schedpolicy,
|
||||
|
Loading…
Reference in New Issue
Block a user