Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
Round Robin scheduling threadcb
no vote
The application background is to schedule CPU of osp2 simulator. You will implement in the module threadcb.java Method and single method do_ Handleinterrupt() in timerinterruphandler.java Continue your understanding of CPU scheduling; key technology in osp2, CPU scheduling related functions and files threadcb.javatimerinterruphandler .java。 The four chapters of the textbook introduce how to use osp2 and osp2 threadcb.java Function, specific do_ Create (create a thread), do_ Kill (kill a thread and a potential task), do_ Suspend (this modifies the waiting state of a thread and suspends it if it is not already suspended)_ Resume (modifies the thread in the waiting state and moves it to the preparation queue. If the waiting state changes, and do_ Dispatch (delete) from queues and scheduling threads). These methods are where you work hard. Minimize global variables, and they should be placed in () if needed.  ;
gigi418
2016-08-23
1
1
No more~