Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 751 Bytes

day17-10_06_2021.md

File metadata and controls

25 lines (13 loc) · 751 Bytes

Tutorial quest

Explain the process creation in windows pg:118,119,120

Explain exec family of functions in c

Process termination

A proddces terminates when it finishes executiog its final statement and asks the OS to delete it by using the exit() system call

exit() - terminate a process

Zombie process : a process that has terminated but whose parent has not yet called wait()

wait() - status of the child process

Orphan processis : if a parent did not incoke wait() ad insteead terminated , thereby leaving its child processes as orphans

linux and unix addr this scenario by assigning the init process as teh new parent

init invokes wait() periodically

Interprocess communication

... class went fasster than i could write ...