About This eBook by Bart De Smet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Explaining the Concept of Threads

Processes executing on Windows can have multiple threads inside them. Threads are where code is executed, and multiple threads can carry out different tasks at the same time. This is achieved by running code on different cores or creating a multicore illusion using (preemptive) operating system scheduling. The operating system kernel is responsible for scheduling threads according to a policy that consists of various factors. For example, threads can have relative priorities, causing the scheduler to favor one thread over another. Threads can get boosted when certain events occur; for example, when clunky user interaction is to be avoided. Furthermore, threads can get blocked because they’re waiting for resources ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required