Deadlock & Concurrency
Algorithms
Lock Variable
TSL Mechanism
Turn Variable
Binary Semaphore
Counting Semaphore
Peterson Solution
Producer & Consumer
Dining Philosopher
Banker's algorithm
TSL Mechanism
Entry Section
while (TSL(Lock));
Critical Section
Exit Section
Lock = 0
Start
Entry Section
Crititcal section
Exit Section
Lock Value =
Process in Waiting Queue