summaryrefslogtreecommitdiff
path: root/viengoos/thread.h
diff options
context:
space:
mode:
authorneal <neal>2008-06-26 07:02:40 +0000
committerneal <neal>2008-06-26 07:02:40 +0000
commit05e23c2cc501a89ad446415a421472ecfaa9fd2b (patch)
treee37ab6848729df399cd12043a55eb90f76968fe3 /viengoos/thread.h
parentacf372c67575341f8923940d1d06084cdb37ac55 (diff)
hurd/
2008-06-26 Neal H. Walfield <neal@gnu.org> * cap.h (RM_object_name): Define. (struct object_name): New struct. (object_name): New method. viengoos/ 2008-06-26 Neal H. Walfield <neal@gnu.org> * rm.h (rm_method_id_string): Handle the RM_object_name case. * server.c (server_loop): Implement the object_name method. * activity.h (struct activity): New field name. * thread.h (struct thread): Likewise. * object.h (OBJECT_NAME_FMT): New macro. (OBJECT_NAME_PRINTF): Likewise. * activity.c: Include "thread.h". (do_activity_dump): Use OBJECT_NAME_FMT and OBJECT_NAME_PRINTF rather than OID_FMT and OID_PRINTF. (activity_dump): Only call do_activity_dump if debugging output is enabled. * pager.c: Include "thread.h". (pager_collect): Use OBJECT_NAME_FMT and OBJECT_NAME_PRINTF rather than OID_FMT and OID_PRINTF. * ager.c (update_stats): Likewise.
Diffstat (limited to 'viengoos/thread.h')
-rw-r--r--viengoos/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/viengoos/thread.h b/viengoos/thread.h
index 2d6cb63..27321f6 100644
--- a/viengoos/thread.h
+++ b/viengoos/thread.h
@@ -113,6 +113,8 @@ struct thread
#ifndef NDEBUG
struct list_node futex_waiter_node;
#endif
+
+ struct object_name name;
};
#ifndef NDEBUG