diff options
author | Neal H. Walfield <neal@gnu.org> | 2008-12-18 15:29:22 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2008-12-18 15:29:22 +0100 |
commit | c489d6e4edbe9614aad02c8e10cbe7682925dc92 (patch) | |
tree | 773399aa8177e20b3562a4b863f6d623546712ea /hurd | |
parent | a470cb8a86025fe76570badb7f268b08b4969f40 (diff) |
Set UTCB->TID when initializing the UTCB, not lazily.
hurd/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* thread.h (hurd_myself): Assume UTCB->TID is set correctly.
libhurd-mm/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* exceptions.c (hurd_activation_state_alloc): Set UTCB->TID.
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/ChangeLog | 4 | ||||
-rw-r--r-- | hurd/thread.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/hurd/ChangeLog b/hurd/ChangeLog index 62e739c..1082520 100644 --- a/hurd/ChangeLog +++ b/hurd/ChangeLog @@ -1,5 +1,9 @@ 2008-12-18 Neal H. Walfield <neal@gnu.org> + * thread.h (hurd_myself): Assume UTCB->TID is set correctly. + +2008-12-18 Neal H. Walfield <neal@gnu.org> + * RPC: Move to ../libviengoos. 2008-12-17 Neal H. Walfield <neal@gnu.org> 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; } |