next up previous
Next: Round Robin Simulation!!!! Up: Round-Robin Scheduling Previous: The display

The source code

    Simple.java. Contains the classes Simple which is responsible for creating the applet, and for getting the input data from the user and gui_aux which is responsible for the animation.

    CPU.java. Contains the class CPU whose object runs on a separate thread acting as the CPU in the simulation.

    Creator.java. Contains the class Creator whose object runs on a separate thread acting as the process creator in the simulation.

    Clock.java. Contains the class Clock whose object runs on a separate thread providing the simulation clock.

    Queue.java. Contains the class Queue whose objects implement a FIFO queue.

    Proc.java. Contains the class Proc whose objects simulate the system processes.