Simulating Deadlock in Teach-Sim YASS CPU-Simulator

Channel:
Subscribers:
865
Published on ● Video Link: https://www.youtube.com/watch?v=vA13bQcljUI



Duration: 14:11
7,410 views
73


Simulate the conditions needed to create a deadlock in YASS.

Teach-Sim Website (to download the software):
http://teach-sim.com/
(Flash plugin is required to be enabled to view the website)

Code used in the video (taken from the tutorial ebook from teach-sim website):

program DeadlockPN
resource(X, allocate)
wait(3)
resource(Y, allocate)
for n = 1 to 20
next
end

YASS is a free CPU Simulator created at Edge Hill University with over 5 years of development. It's purpose is to provide tools for teaching and learning by mimicking the behaviour of computer operating systems, by including visualitions to help better understanding the underlying processes.

The simulator is a complex piece of software, and hence I thought I'd make a demonstration of how a deadlock can be simulated in it with visualisations to aid understanding.
Disclaimer: I didn't create this software, and neither am I in any way affiliated with the creators. I'm creating this demonstrative video solely for non-profit, educational purposes. The rights to this software are reserved with creators. This video is not monetized. Please also note that I'm a student myself and I don't know much about the software. If you have any software-related queries, contact the devs.







Tags:
CPU
Deadlock
Edge Hill University
YASS
YASMINE
Simulation
Simulator
Deadlock Simulation
Teach-Sim
Demonstration
Tutorial
OS
Operating System
Round-Robin
FCFS
SSTF
SJF