Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Parallel Programming with Python

You're reading from  Parallel Programming with Python

Product type Book
Published in Jun 2014
Publisher
ISBN-13 9781783288397
Pages 124 pages
Edition 1st Edition
Languages

Table of Contents (16) Chapters

Parallel Programming with Python
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Contextualizing Parallel, Concurrent, and Distributed Programming Designing Parallel Algorithms Identifying a Parallelizable Problem Using the threading and concurrent.futures Modules Using Multiprocessing and ProcessPoolExecutor Utilizing Parallel Python Distributing Tasks with Celery Doing Things Asynchronously Index

Understanding the concept of a process


We must understand processes in operating systems as containers for programs in execution and their resources. All that is referring to a program in execution can be managed by means of the process it represents—its data area, its child processes, its estates, as well as its communication with other processes.

Understanding the process model

Processes have associated information and resources that allow their manipulation and control. The operating system has a structure called the Process Control Block (PCB), which stores information referring to processes. For instance, the PCB might store the following information:

  • Process ID: This is the unique integer value (unsigned) and which identifies a process within the operational system

  • Program counter: This contains the address of the next program instruction to be executed

  • I/O information: This is a list of open files and devices associated with the process

  • Memory allocation: This stores information about...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}