Some Advanced Stuff
DOI link for Some Advanced Stuff
Some Advanced Stuff book
Multitasking is the key to understanding how multicores work. A modern CPU is designed to multitask, allowing the reader to move his/her cursor around on-screen while still testing his/her keyboard and playing music and several other tasks, all seemingly at the same time. Sheer-processing power will allow that to appear like it is all happening at once and making the multitasking seem smooth and seamless, until the reader try to do more tasks than it can reasonably cope with, then things get a bit sluggish. At the core of a job manager is naturally enough; a manager keeps track of a certain number of available threads, and tasks the reader want it to handle, which are assigned to those threads. When the task on a thread is done, the manager will note that a thread has a space and assign another job, which it kept in a to-do list, into that now free space.