Sat 09 Aug 2003 08:32:45 PM UTC, comment #1:
Hi,
the creation time was an invention of us, and he put it into GNU Mach 1999. This seemed to be an easy change. Instead changing the Hurd to allow for the lack of it, can't you backport our change to OSF Mach? Here are the relevant changelog entries from GNU Mach:
1999-05-29 Roland McGrath <roland@baalperazim.frob.com>
* kern/startup.c (start_kernel_threads): Call record_time_stamp to
reset the kernel task's creation_time field, so it's not zero.
1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
* kern/task.c (task_info): Allow count for TASK_BASIC_INFO to be less
two words, not just one. The new member creation_time is two words.
Wed Aug 20 16:05:19 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* kern/thread.h (struct thread): New member `creation_time'.
* include/mach/thread_info.h: New member `creation_time'.
* kern/thread.c (thread_create): Set creation time stamp.
(thread_info) [THREAD_BASIC_INFO]: Fill in new creation time
field. Carefully preserve compatibility with old callers.
* kern/task.h (struct task): New member `creation_time'.
* include/mach/task_info.h: New member `creation_time'.
* kern/task.c (task_create): Set creation time stamp.
(task_info) [TASK_BASIC_INFO]: Fill in new creation time field.
Carefully preserve compatibility with old callers.
* kern/mach_clock.c (record_time_stamp): New function.
* kern/time_out.h (record_time_stamp): Add prototype.
|