3 - ELEC 2602 Object Oriented Systems Programming Module 3...

Info icon This preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
1 ELEC 2602 – Object Oriented & Systems Programming Module 3 – Process Control
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 Process Control: Overview ¾ Process IDs default processes and how to obtain process IDs; ¾ Creation of new/child processes – fork() versus vfork(); ¾ Coordination between processes – file sharing versus race condition; ¾ Process termination – waitpid() ; ¾ Measuring Process Times – times() ; ¾ Executing programs – exec(); ¾ Sample program illustrating the combined uses of fork() and exec() !
Image of page 2