Thursday 4 October 2012

Process Creation


# Parent process create children processes, which, in turn create other processes, forming a tree of processes.
# Resource sharing
# Parent and children share all resources.
# Children share subset of parent’s resources.
# Parent and child share no resources.
# Execution
# Parent and children execute concurrently.
# Parent waits until children terminate.
 
 
$ Address space
@ Child duplicate of parent.
@ Child has a program loaded into it.
$ UNIX examples
fork system call creates new process
@ exec system call used after a fork to replace the process’ memory space with a new program.
 

No comments:

Post a Comment

Oracle Reserved Words

Oracle  Reserved Words The following words are reserved by Oracle. That is, they have a special meaning to Oracle and so cannot be redefi...