System Software-I. Unit 4.
  1. Multithreading with Pthreads Part IV - Safety aspects.
  2. Thread safety.
  3. Thread safety via mutex locks.
  4. Thread safety via function refactoring.
  5. The standard C library and thread safety.
  6. Thread safety via Thread Local Storage (TLS).
  7. Thread cancelation and cleanup.
  8. Canceling a thread: a code example.
  9. Thread cleanup: code example.
  10. Threads and signaling.
  11. The multiprocess vs the multithreading model - pros of the multithreading model.
  12. The multiprocess vs the multithreading model - cons of the multithreading model.
  13. Source code.
  14. Questions & Exercises.
Last Updated 13 Feb, 2021 15:30. <vadimov@i.ua>