Repository for the lectures taught in the course named "Operating Systems Lab" at the University of Guilan, Department of Computer Engineering.
-
Updated
Nov 8, 2023 - C
Repository for the lectures taught in the course named "Operating Systems Lab" at the University of Guilan, Department of Computer Engineering.
This repo contains implementation of Peterson's tournament algorithm and Lamport's bakery algorithm for mutual exclusion. It a part of programming project for Multicore Programming.
SR examples from Andrews book translated to Java
Implementation of various spin locks for process synchronization.
5 programs solving different problems using parallel programming in Python.
Example implementation of Lamport's Bakery algorithm for managing multiple threads.
A simple example of how memory ordering can go wrong on modern hardware
Thread mutual exclusion: Four famous methods (Boolean variable, Switching, Petterson, Bakery)
Add a description, image, and links to the bakery-algorithm topic page so that developers can more easily learn about it.
To associate your repository with the bakery-algorithm topic, visit your repo's landing page and select "manage topics."