Deadlock & Concurrency
Algorithms
Lock Variable
TSL Mechanism
Turn Variable
Binary Semaphore
Counting Semaphore
Peterson Solution
Producer & Consumer
Dining Philosopher
Banker's algorithm
Dining Philosopher's Problem
P1
P2
P3
P4
P5
Enter the sequence in which the philosophers will eat
Eat