In a concise presentation:

  1. Contrast two example programs that implements the Producer-Consumer problem with mutex

  2. Is it possible to introduce race condition by revising the programs?

  3. Is it possible to introduce deadlock by revising the programs?