lkml.org 
[lkml]   [2000]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: process header declaration?
On Thu, 19 Oct 2000, Andrew C. Dingman wrote:

> I'm working on a project for my senior seminar for which I (and my
> profs) think I need to modify the process descriptor
> struct. Unfortunately, I don't seem to be good enough with 'grep' to
> figure out where the type is declared. Could someone give me a pointer
> to the right file in the 2.4.0-testX source code, or a good expression
> to grep for, please? I am subscribed to the list, but a cc wouldn't
> hurt, either. Thanks in advance for any help you feel inclined to
> offer.

The file /usr/include/linux/sched.h contains the structure task_struct.
A pointer, called current, gets initialized to point to one of these
for every task on the system.


Cheers,
Dick Johnson

Penguin : Linux version 2.2.17 on an i686 machine (801.18 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.067 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site