Trouble Understanding CPU Scheduling Concepts
问题 I have to write a CPU scheduling simulation with kernel level threads. I have to be able to use either first come first served (FCFS) or round robin (RR) algorithms. Data for the processes and their threads is given in the form of a text file. At the moment my program reads in the text file data into linked lists. I'm not really sure how to start the simulation (I've never programmed a simulation before). Is this how I would proceed in the case of FCFS? When I get to the first thread of the