Advertisement

Process Management in Embedded Systems

  • K. C. WangEmail author
Chapter

Abstract

Chapter  5 covers process management. It introduces the concept of processes and demonstrates the basic technique of multitasking by context switching. It shows how to create processes dynamically and discusses the goals, policy and algorithms of process scheduling. It covers process synchronization and shows how to implement the various kinds of process synchronization mechanisms, which include sleep/wakeup, mutexes and semaphores. It shows how to use the process synchronization mechanisms to implement event-driven embedded systems. It discusses interprocess communication schemes, which include shared memory, pipes and message passing. It shows how to integrate these concepts to implement a uniprocessor (UP) kernel for process management, and it shows the programming techniques for both non-preemptive and preemptive process scheduling. The UP kernel serves as the foundation for developing complete operating systems in later chapters.

References

  1. Accetta, M. et al., “Mach: A New Kernel Foundation for UNIX Development”, Technical Conference - USENIX, 1986.Google Scholar
  2. ARM toolchain: http://gnutoolchains.com/arm-eabi, 2016.
  3. Bach, M. J., “The Design of the Unix operating system”, Prentice Hall, 1990.Google Scholar
  4. Buttlar, D, Farrell, J, Nichols, B., “PThreads Programming, A POSIX Standard for Better Multiprocessing”, O’Reilly Media, 1996.Google Scholar
  5. Dijkstra, E.W., “Co-operating Sequential Processes”, in Programming Languages, Academic Press, 1965.Google Scholar
  6. Hoare, C.A.R, “Monitors: An Operating System Structuring Concept”, CACM, Vol. 17, 1974.Google Scholar
  7. IBM MVS Programming Assembler Services Guide, Oz/OS V1R11.0, IBM, 2010.Google Scholar
  8. Lampson, B; Redell, D. (June 1980). “Experience with processes and monitors in MESA”. Communications of the ACM (CACM) 23 (2): 105–117, 1980.Google Scholar
  9. OpenVMS: HP OpenVMS systems Documentation, http://www.hp.com/go/openvms/doc, 2014.
  10. QEMU Emulators: “QEMU Emulator User Documentation”, http://wiki.qemu.org/download/qemu-doc.htm, 2010.
  11. Silberschatz, A., P.A. Galvin, P.A., Gagne, G, “Operating system concepts, 8th Edition”, John Wiley & Sons, Inc. 2009.Google Scholar
  12. Stallings, W. “Operating Systems: Internals and Design Principles (7th Edition)”, Prentice Hall, 2011.Google Scholar
  13. Tanenbaum, A. S., Woodhull, A. S., “Operating Systems, Design and Implementation, third Edition”, Prentice Hall, 2006.Google Scholar
  14. Versatilepb: Versatile Application Baseboard for ARM926EJ-S, ARM Information Center, 2016.Google Scholar
  15. Wang, K.C., “Design and Implementation of the MTX Operating Systems, Springer International Publishing AG, 2015.Google Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  1. 1.School of Electrical Engineering and Computer ScienceWashington State UniversityPullmanUSA

Personalised recommendations