Page 1 of 1

multitasking??

Posted: Sat Apr 26, 2008 2:16 pm
by aztex
for multitasking we must create structure which stores the register values and program counter values.
this structure must be created dynamically based on newly created processes

and must be put back on registers based on scheduling algoritms..


am i correct ???

Posted: Sat Apr 26, 2008 3:55 pm
by Combuster
If you'd have read all the tutorials and posts on the matter, you'd know the answer to that.

Posted: Sat Apr 26, 2008 11:33 pm
by iammisc
You don't have to do anything in your os. You can do task switching any way you want. You could use some fancy assembly and come up with something new.


My point is that there is no standard way to do things. However, the method you described is a very common method(but not the only one possible).