multitasking??

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
aztex
Member
Member
Posts: 30
Joined: Sun Mar 02, 2008 8:15 am

multitasking??

Post 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 ???
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

If you'd have read all the tutorials and posts on the matter, you'd know the answer to that.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
iammisc
Member
Member
Posts: 269
Joined: Thu Nov 09, 2006 6:23 pm

Post 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).
Post Reply