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