C++ laboratory files for the UoM 3rd Year Concurrent Systems course
-
Updated
Jan 26, 2018 - C++
C++ laboratory files for the UoM 3rd Year Concurrent Systems course
Deadlock in Operating system
This project shows how deadlock is produced and multiple possible solutions to avoid deadlock. STEPS TO AVOID DEADLOCK: i) Avoid locking multiple mutexes but only 1 mutex if possible ii) After locking mutex, avoid calling user provided funtion (that can access/modify the resource without being locked) iii) If you require to lock more than 1 mute…
Formula One race simulation using ncurses lib and C++ threads.
This repo provides the basic implementation of the Dining-Philosophers problem. Check out the README for the problem statement.
This repository contains a C++ implementation of the Banker's algorithm, which is used to avoid deadlock in a system. The program allows processes to request and release resources, and the banker will grant a request only if it leaves the system in a safe state. If a request would lead to an unsafe state, it will be denied. The program also include
The whole point of MPI (Message Passing Interface) is to make processes communicate. Point-to-point communication is divided into two operations: Send and Receive. Its most basic form is called blocking. Here I wrote a blocking and non-blocking mpi program in c++. communications.
A little repository that shows an interesting phenomena in C++14 shared mutex threading
This is a college project of Operating Systems completed by me. It contains CPU scheduling, Semaphore(Dining Philosopher Problem), Deadlock(Bankers Algorithm), Memory Management(Two-Level Page-Table Scheme ,Hashed Page Table with TLB),Page Replacement (Second Chance Algorithm using circular link list). Also a simple GUI menu is also implemented.
Multithreading Snakes es un problema en el que cada snake trabaja en una thread diferente y se mueve de manera aleatoria. Suponiendo que hay varias snakes en una matriz, evitar colisiones haciendo que una de las snakes espere a que el otro pase. (visualización de DeadLocks)
implementation of Banker’s Algorithm in cpp
A C++ implementation of Deadlock Detection Algorithm.
Real Time System Architectures
Add a description, image, and links to the deadlock topic page so that developers can more easily learn about it.
To associate your repository with the deadlock topic, visit your repo's landing page and select "manage topics."