Abstract

Chapter 4 starts to develop an operating system (OS) kernel for process management. Rather than presenting a complete kernel in one step, it develops the kernel in incremental steps. First, it uses a simple program to introduce the process concept and demonstrate the principle of context switching. It uses a process life-cycle model to create processes and control their executions in a multitasking environment. It extends the multitasking system to support dynamic process creation, process scheduling and process termination. It shows how to stop and continue a process and extends stop/continue to sleep/wakeup operations for process synchronization and explains their usage in an OS kernel. Then it implements the wait operation to allow parent process to wait for child process termination. It also shows how to adjust process priorities for priority-based process scheduling. Then it integrates these concepts and principles to implement an OS kernel for process management. In each step, it demonstrates the design principle and implementation techniques by a working sample system, which allows the reader to test and observe the internal operations of an OS kernel.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.