Multitasking with Raspberry Pi
Dogan Ibrahim
Diese Publikation zitieren
Dogan Ibrahim, Multitasking with Raspberry Pi (29.03.2024), Elektor, Aachen, ISBN: 9781907920967
279
Accesses
Accesses
Beschreibung / Abstract
Inhaltsverzeichnis
- Multitasking with Raspberry Pi
- All rights reserved
- Contents
- Preface
- 1 †¢ Installing the Raspberry Pi operating system
- 1.1 Overview
- 1.2 Raspbian Buster installation steps on Raspberry Pi 4
- 1.3 Remote access
- 1.4 Using Putty
- 1.5 Remote access of the desktop
- 1.6 Summary
- 2 †¢ Using the Raspberry Pi command line
- 2.1 Overview
- 2.2 Command examples
- 2.3 Installing and removing software
- 2.4 Shutting down
- 2.5 Summary
- 3 †¢ Process management and resource monitoring on Raspberry Pi
- 3.1 Overview
- 3.2 Foreground and background processing
- 3.3 Task scheduling
- 3.4 Running a program or script automatically at system startup
- 3.5 Resource monitoring
- 3.6 Summary
- 4 †¢ Multiprocessing and multithreading
- 4.1 Overview
- 4.2 What is multithreading?
- 4.3 What is multiprocessing?
- 4.4 Differences between multithreading and multiprocessing
- 4 5 Task Scheduling algorithms
- 4.6 Summary
- 5 †¢ Raspberry Pi multitasking projects - using the fork()
- 5.1 Overview
- 5.2 Running shell commands from Python
- 5.3 Process forks
- 5.4 Summary
- 6 †¢ Raspberry Pi multitasking projects - using threads
- 6.1 Overview
- 6.2 Threads
- 6.3 Forking or Threads?
- 6.4 Using threads
- 6.5 Summary
- 7 †¢ Raspberry Pi multitasking projects - using threading
- 7.1 Overview
- 7.2 Threading
- 7.3 Threading based projects
- 7.4 Summary
- 8 †¢ Using subprocesses
- 8.1 Overview
- 8.2 Subprocesses call
- 8.3 Subprocess run
- 8.4 Subprocess check_call
- 8.5 Subprocess check_output
- 8.6 Subprocess Popen and communicate
- 8.7 Running a Python program
- 8.8 Project 1 – Two LEDs flashing at different rates
- 8.9 Summary
- 9 †¢ Raspberry Pi multitasking projects - using multiprocessing
- 9.1 Overview
- 9.2 Multiprocessing or threading?
- 9.3 How many CPU cores?
- 9.4 Multiprocessing process calls
- 9.5 Using Events in multiprocessing
- 9.6 Conditions in multiprocessing
- 9.7 Multiprocessing Queues
- 9.8 Sharing data in multiprocessing using Value and Array
- 9.9 Anonymous Pipes in multiprocessing
- 9.10 Named Pipes
- 9.11 Signals in multiprocessing
- 9.12 Multiprocessing based projects
- Appendix
- Appendix A †¢ List of components used in the book
- Appendix B †¢ Raspberry Pi 4 pin configuration
- Index