Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 19 Oct 2000 13:53:36 -0400 (EDT) | From | "Richard B. Johnson" <> | Subject | Re: 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/
| ![\](/images/icornerr.gif) |