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.
Lamport's Bakery algorithm ensuring starvation-free mutual exclusion, ticket ordering, and deadlock-free critical section arbitration.
Lamport's Bakery algorithm ensuring starvation-free mutual exclusion, ticket ordering, and deadlock-free critical section arbitration.
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.
Example implementation of Lamport's Bakery algorithm for managing multiple threads.
5 programs solving different problems using parallel programming in Python.
Thread mutual exclusion: Four famous methods (Boolean variable, Switching, Petterson, Bakery)
A simple example of how memory ordering can go wrong on modern hardware
To associate your repository with the bakery-algorithm topic, visit your repo's landing page and select "manage topics."