filmov
tv
Java Thread Concurrency Visualization: JavaFX GUI 141OS

Показать описание
Java thread concurrency animated by Javafx.
This demonstrates a very simple operating system that allows multiple users to save and print files. The os manages multiple disks, multiple printers, and multiple users – all of which can be considered concurrent processes. The goal of the system is to exploit possible parallelism to keep the devices (disks and printers) as busy as possible.
Each little “worker” represents a thread. The current state of the thread is made clear by where from and to he is running and in his hand he either has a magnifying glass to demonstrate lookup or a file to represent sending a line from a file to a printer. If a printer is currently printing, it is made clear by its shaking motion and the paper fluttering into a pile.
FALL 2020
CS 141 / INF 101
Professor Klefstad
This demonstrates a very simple operating system that allows multiple users to save and print files. The os manages multiple disks, multiple printers, and multiple users – all of which can be considered concurrent processes. The goal of the system is to exploit possible parallelism to keep the devices (disks and printers) as busy as possible.
Each little “worker” represents a thread. The current state of the thread is made clear by where from and to he is running and in his hand he either has a magnifying glass to demonstrate lookup or a file to represent sending a line from a file to a printer. If a printer is currently printing, it is made clear by its shaking motion and the paper fluttering into a pile.
FALL 2020
CS 141 / INF 101
Professor Klefstad