We will discuss two central building blocks of modern operating systems: Processes and Threads. Processes (instances of a running computer program) and threads (a specific task running within a program) are integral to the understanding of how an OS executes a program and the communication of information between each of the computer's architectural layers. We will start with an overview of each concept, including definitions, uses, and types. We will then discuss the commonalities and differences between processes and threads. We will conclude this unit with a discussion on Context Switches and the important role they play in CPU scheduling, which will be discussed more in depth in Unit 4.
Completing this unit should take you approximately 10 hours.
Watch this video, which will be an introduction to Unit 2 and will touch on all topics outlined in this unit.