Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Scheduler

Name: Anonymous 2011-09-17 13:59

If I were to build my own scheduler from the bottom up, what would be the best way to go about it?

A simple while(true) loop?

Name: Anonymous 2011-09-17 14:00

Why...?

Name: tdavis 2011-09-17 14:05

My scheduler for LoseThos just going in a cricle around the tasks.  It's called "round robin" and is nice because nobody starves.

http://en.wikipedia.org/wiki/Round-robin_scheduling

Name: Anonymous 2011-09-17 14:07

Well I was thinking about starting off with a simple priority scheduler with Run to Complete at first.

How would one go about interrupting a task that's being executed if you want something more complex than RTC?

Name: tdavis 2011-09-17 14:14

Name: Anonymous 2011-09-17 14:18

>>5
I see I have my work cut out for me.
Thanks for the inspiration.

Name: Anonymous 2011-09-17 15:35

>>5
That's actually pretty interesting.

But I hate the formatting of your code. PIG DISGUSTING

Name: Anonymous 2011-09-17 17:40

Schedule my ANUS

Name: Anonymous 2011-09-17 23:40

The best way to go about it would be to build it top-down.

Don't change these.
Name: Email:
Entire Thread Thread List