mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Initialize TCB->tcb.
This commit is contained in:
parent
e65a6679f0
commit
269761cad3
@ -1,3 +1,7 @@
|
||||
2004-10-26 Roland McGrath <roland@frob.com>
|
||||
|
||||
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Initialize TCB->tcb.
|
||||
|
||||
2004-10-26 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/gnu/netinet/udp.h (struct udphdr): Use u_int16_t
|
||||
|
@ -63,6 +63,10 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall)
|
||||
|
||||
if (!secondcall)
|
||||
{
|
||||
/* This field is used by TLS accesses to get our "thread pointer"
|
||||
from the TLS point of view. */
|
||||
tcb->tcb = tcb;
|
||||
|
||||
/* Cache our thread port. */
|
||||
tcb->self = __mach_thread_self ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user