System Software-I. Unit 3.
  1. Multithreading with Pthreads Part III - Synchronization.
  2. The racing problem.
  3. Locking. Atomic execution of a critical section.
  4. Locking granularity.
  5. Deadlocks.
  6. Using the pthread APIs for synchronization.
  7. Seeing the data race.
  8. Example: the factorial of a given number.
  9. Mutex attributes.
  10. The robust attribute mutex.
  11. IPC, threads, and the process-shared mutex.
  12. Priority inversion and watchdogs.
  13. The pthreads APIs to query and set the protocol mutex attribute.
  14. Mutex locking: some additional variants.
  15. Condition Variable is an inter-thread event notification mechanism.
  16. Simple Condition Variable usage demo application.
  17. Source code.
Last Updated 08 Feb, 2021 09:44. <vadimov@i.ua>