What is the primary role of an Operating System (OS) in the context of process management?
Define a process and a thread in the context of operating systems.
What hardware mechanisms support process protection in operating systems?
Explain the concept of dual-mode operation in the context of operating systems.
What is the role of system calls in operating systems?
Explain the differences between system calls and library functions.
How does the kernel handle system calls?
Slide 24, chapter 9
What is User Level Process Management in UNIX?
What happens when a program is compiled in UNIX?
Describe the kernel operations involved in process creation.
What occurs during process startup in UNIX?
What steps are involved in process termination?
exit system call is invoked, typically inserted by the compiler.What are the different policies for process creation in UNIX?
How does process creation work in Windows?
CreateProcess function is used to create and initialize the Process Control Block and the address space.What are the process creation policies in Windows?
What are the key steps in UNIX process management?
fork for creating a copy of the current process, exec for changing the program run by the current process, wait for waiting for a process to finish, signal for sending notifications to other processes.What are the key policies in UNIX process creation?
How does the UNIX fork system call function?
Describe the execve system call in UNIX.
execve() executes a program specified by a filename.What is the purpose of the ‘system’ function in UNIX?
How does UNIX handle the return codes of processes?
What is the function of posix_spawn in process creation?
posix_spawn() creates a new child process that executes a specified file.What are zombies in UNIX and how are they handled?
How are processes identified in UNIX?