Patch #1808 has been updated. 

Project: 
Category: None
Status: Open
Summary: Add support for task_basic_info without creation_time

Follow-Ups:

Date: Sat 08/09/2003 at 22:26
By: pbruin

Comment:
This patch adds support for OSF Mach, which doesn't have creation_time in `struct 
task_basic_info', by adding a member creation_time to `struct procinfo'.  It is 
initialized by proc when a `struct proc' for the task is allocated and kept in this 
`struct proc'.

A configure function is still needed to detect if this should be enabled.

-------------------------------------------------------

Date: Sat 08/09/2003 at 22:32
By: marcus

Comment:
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  <[EMAIL PROTECTED]>
                                                                                
        * 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  <[EMAIL PROTECTED]>
 
        * 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  <[EMAIL PROTECTED]>
                                                                                
        * 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.
                                                                                
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1808&group_id=30

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to