From c489d6e4edbe9614aad02c8e10cbe7682925dc92 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Thu, 18 Dec 2008 15:29:22 +0100 Subject: Set UTCB->TID when initializing the UTCB, not lazily. hurd/ 2008-12-18 Neal H. Walfield * thread.h (hurd_myself): Assume UTCB->TID is set correctly. libhurd-mm/ 2008-12-18 Neal H. Walfield * exceptions.c (hurd_activation_state_alloc): Set UTCB->TID. --- hurd/ChangeLog | 4 ++++ hurd/thread.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'hurd') diff --git a/hurd/ChangeLog b/hurd/ChangeLog index 62e739c..1082520 100644 --- a/hurd/ChangeLog +++ b/hurd/ChangeLog @@ -1,3 +1,7 @@ +2008-12-18 Neal H. Walfield + + * thread.h (hurd_myself): Assume UTCB->TID is set correctly. + 2008-12-18 Neal H. Walfield * RPC: Move to ../libviengoos. diff --git a/hurd/thread.h b/hurd/thread.h index 94c29e8..aa292ab 100644 --- a/hurd/thread.h +++ b/hurd/thread.h @@ -246,9 +246,6 @@ hurd_myself (void) { struct hurd_utcb *utcb = hurd_utcb (); - if (unlikely (utcb->tid == 0)) - utcb->tid = vg_myself (); - return utcb->tid; } -- cgit v1.2.3