Chapter 13. Working with Processes in Python
This chapter is the first of three chapters on using concurrency through multiprocessing programming in Python. We have seen various examples of processes being used in concurrent and parallel programming. In this chapter, you will be introduced to the formal definition of a process, as well as the multiprocessing
 module in Python. This chapter will go through some of the most common ways of working with processes using the API of the multiprocessing
 module, such as the Process
 class, the Pool
 class, and interprocess communication tools such as the Queue
class. This chapter will also look at the key differences between multithreading and multiprocessing in concurrent programming.
The following topics will be covered in this chapter:
- The concept of a process in the context of concurrent programming in computer science
- The basic API of the
multiprocessing
module in Python - How to interact with processes and the advanced functionalities that the
multiprocessing...