Page 1 of 1
Implement (PCB)
Posted: Wed Nov 02, 2011 2:53 pm
by mohamedaboelmagd
Please faster reply
I can't implement data structure that represent Process Control Block
Re: Implement (PCB)
Posted: Wed Nov 02, 2011 2:59 pm
by Jezze
Ok, then you'll get a fast answer. Basically you need a struct containing a page directory (if you have paging) and for multitasking you need three integers which represents eip, esp and ebp (for remembering the state when context switching). And a pid number probably. That's it =)
Re: Implement (PCB)
Posted: Wed Nov 02, 2011 3:06 pm
by gerryg400
Jezze, you took 6 minutes. Too slow !
Re: Implement (PCB)
Posted: Wed Nov 02, 2011 3:08 pm
by Jezze
Can I blame my tiny keyboard? =)
Re: Implement (PCB)
Posted: Wed Nov 02, 2011 3:12 pm
by AJ
Locked.
@op: please do your research and also read the forum rules.