Need good java developer for the Operating Systems programming

Job ID: 34686972

Budget: ₹600 – ₹3,000 INR

Hi,

Need to perform the below task:

Task 1 – Build the OS class
Implement the OSInterface. This class should be a singleton and should implement OSInterface. It should create an instance of the BasicScheduler and call that instance’s methods (like CreateProcess and DeleteProcess). Make sure that you add sleep().
Task 2 – Prepare the BasicScheduler for sleeping
Instead of a single work queue, you will now need two – a “sleeping” queue and an active queue.
When you are running, you will need to take a process off of the active queue and run() it. Then decide which queue to put it on. Note that “queue” here doesn’t necessarily mean to use the queue class in Java.
Task 3 – Add the sleep() functionality
Each process will have to track how much (longer) it needs to sleep. Put that in an appropriate location and update it on sleep() being called.
Task 4 – Update the list of sleeping process
After a process runs, the RunResult tells us how much time has passed. We need to update each of the sleeping processes to wait that much less time. If a process is done waiting, it needs to switch queues. Note that in Java, you may not (depending on data structure, looping mechanism, etc.) be able to directly remove an item from the queue. The normal way to deal with this is to make a temporary data structure of items that need removal, then remove them all once you are not looping over the data structure.
Task 5 – Change startup
Change startup to call the OS class instead of creating and using a new BasicScheduler.