Find the parent process and the child process, Operating System

Q. When a process creates a fresh process using the fork() operation which of the following state is shared among the parent process and the child process?

1 Stack

2 Heap

3 Shared memory segments

Answer: Merely the shared memory segments are shared between the parent process as well as the newly forked child process. Copies of the stack as well as the heap are made for the newly created process.

Posted Date: 7/27/2013 2:32:06 AM | Location : United States







Related Discussions:- Find the parent process and the child process, Assignment Help, Ask Question on Find the parent process and the child process, Get Answer, Expert's Help, Find the parent process and the child process Discussions

Write discussion on Find the parent process and the child process
Your posts are moderated
Related Questions
How can the deadlock be prevented-Safe State Safe state : A state is safe if the system is able to allocate resources to each process in some order and still avoid deadlock.

What is the main advantage of the layered approach to system design? As in all cases of modular design, designing an operating system in a modular way has several benefits. Th

1. Suggest some mechanism(s) to lower the dispatch latency while scheduling for a real-time system. Also, discuss any trade-off or consequent constraint associated with it, if a

Define the difference between preemptive and nonpreemptive scheduling. State why strict nonpreemptive scheduling is unlikely to be used in a computer center. Preemptive schedul

Explain process scheduling in time sharing The relevant features of time sharing are: 1.      Process priorities do not depend on the nature of the processes 2.      Proc

Q. Describe why SSTF scheduling tends to favour middle cylinders over the innermost and outermost cylinders. Answer: The middle of the disk is the location having the smalles

What are the requirements for solution of critical section problems? Mutual exclusion : If process p is implementing in its critical section then no other processes can be exe

Which android version is available till now

Explain in detail about ipc in linux

What is the main advantage of multiprogramming? Multiprogramming makes efficient use of the CPU by overlapping the demands for the CPU and its I/O devices from various users. I