21 lines
317 B
Markdown
21 lines
317 B
Markdown
|
Lecture Topic: Processes
|
||
|
|
||
|
Resource Sharing Options:
|
||
|
Not Shared
|
||
|
Shared
|
||
|
Partially Shared
|
||
|
|
||
|
fork ()
|
||
|
stack not shared
|
||
|
heap not shared
|
||
|
|
||
|
Process creation options:
|
||
|
Child duplicates the parent
|
||
|
Child has a program loaded into it
|
||
|
|
||
|
examples:
|
||
|
fork()
|
||
|
exec()
|
||
|
|
||
|
|
||
|
Was a bit late today, but was mostly a demo of how forking worked in C
|