lkml.org 
[lkml]   [2004]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Initialization of task_t
On Tue, Jun 22, 2004 at 12:15:55PM -0300, Andre Marcos Dias Campos wrote:
> I would like to know where in the kernel code the task_t struct of each
> process is initialized.
> Regards
> Andre Dias

You're looking for dup_task_struct(), which copies the child's from the
parent's, and static initialization of the first process with INIT_TASK,
defined in include/linux/init_task.h.


--- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2011 Jasper Spaans