Problem: Using Java to implement Multilevel Freeback Queue
Hi, Can anyone know how to implement the Multilevel Freeback Queue in CPU Schedular. I don't know the main idea on how to implement it.
Is it having any method to implement it without using Java thread programming
Thank you very much for everyone who are help and pay attention on it.
[304 byte] By [
new_1234a] at [2007-11-27 2:41:34]

It's a pre-emptive time slicing scheduler. You probably would have to implement your own JVM to get that level of control, or your own interpreter on top of a standard VM. You could make a partial implementation using thunks- converting your large work items into a sequence small ones, which the scheduler runs to completion, and shouldn't take longer than the schedule quanta.