System Software-I. Unit 1.
  1. Multithreading with Pthreads Part I - Essentials.
  2. Asynchronous programming.
  3. Callbacks.
  4. The Linux process - inheritance and non-inheritance across the fork().
  5. The thread - everything except the stack is shared across pthread_create().
  6. Multiprocess vs multithreaded.
  7. Performance characteristics in general.
  8. Multiprocess vs multithreaded: matrix multiplication.
  9. Kernel build. On a VM with 1 GB RAM, two CPU cores and parallelized make -j4
  10. Kernel build. On a VM with 1 GB RAM, one CPU core and sequential make -j1
  11. Thread creation.
  12. Termination.
  13. How many threads can you create?
  14. Code example - creating any number of threads.
  15. Source code.
Last Updated 28 Jan, 2021 13:43. <vadimov@i.ua>