Understanding How Tasks Work - Part 1

This is the first article in a series that discusses in technical detail how tasks (threads) work with respect to task switching, instance data, inter-task communication, scheduling, and priority.

In a strict sense, multi-tasking cannot occur on a single CPU, and therefore, multi-tasking must be simulated by sharing CPU time between different tasks. Time can be shared between tasks through cooperation, time-slicing, preemption or any combination of the above. All of these time-sharing techniques have one thing in common: they require the ability to switch from one task to another (context switching).

View Entire Paper | Previous Page | White Papers Search

If you found this page useful, bookmark and share it on: