# 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