diff options
author | neal <neal> | 2008-05-24 13:49:34 +0000 |
---|---|---|
committer | neal <neal> | 2008-05-24 13:49:34 +0000 |
commit | 39dc3c3daf6958836c536edd89b98de816fcc790 (patch) | |
tree | 463efe49739d16970cce37731e19168b486ac892 /viengoos/thread.h | |
parent | 80ae309a1834125c96dbe109bbbd61cba2db35ac (diff) |
hurd/
2008-05-24 Neal H. Walfield <neal@gnu.org>
* activity.h (activity_stats): Take additional parameter,
until_period.
viengoos/
2008-05-24 Neal H. Walfield <neal@gnu.org>
* thread.h (THREAD_WAIT_STATS): Define.
* server.c (server_loop): Update implementation of activity_stats
to handle the new parameter, until_period. If the current period
is less than UNTIL_PERIOD, queue the caller on PRINCIPAL and do
not reply.
* ager.c: Include "thread.h".
(ager_loop): When generating an activity's statistics, if a thread
is waiting for the statistic, send it reply.
ruth/
2008-05-24 Neal H. Walfield <neal@gnu.org>
* ruth.c (main): Update user of rm_activity_stats to be consistent
with new interface.
Diffstat (limited to 'viengoos/thread.h')
-rw-r--r-- | viengoos/thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/viengoos/thread.h b/viengoos/thread.h index cb5900f..7ce235f 100644 --- a/viengoos/thread.h +++ b/viengoos/thread.h @@ -44,6 +44,10 @@ enum /* THREAD is blocked on an object waiting for the object to be destroyed. */ THREAD_WAIT_DESTROY, + /* THREAD is blocked on an activity waiting for the stats for a + particular period, which is stored in + thread->wait_reason_arg. */ + THREAD_WAIT_STATS, }; struct thread |