Producer-Consumer with mutex
In a concise presentation:
-
Contrast two example programs that implements the Producer-Consumer problem with mutex
-
Is it possible to introduce race condition by revising the programs?
-
Is it possible to introduce deadlock by revising the programs?