18
Threads 1
Long ago in a faraway land, there were mainly single-processor computers and devices. Despite this, a process could have multiple paths of execution. Each path of execution in a process is known as a thread. In this environment, the threads share the processor. This is called concurrency. With this architecture, operating systems schedule threads onto the processor mainly in a round-robin fashion.
Multicore devices are now prevalent. We have true parallelization, where processes are decomposed into threads that run in parallel across multiple processors. Gaining the full benefit of the computing power of a multicore architecture is a worthy goal, especially for scalable applications. Unfortunately, it does not just happen. There ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access