2024-01-22 10:12:47
This commit is contained in:
21
UNB/Year 4/Semester 1/CS3418/9-22-2023.md
Normal file
21
UNB/Year 4/Semester 1/CS3418/9-22-2023.md
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
Reference in New Issue
Block a user