Transcription of Interlude: Process API
{{id}} {{{paragraph}}}
5 Interlude: Process APIASIDE: INTERLUDESI nterludes will cover more practical aspects of systems, including a par-ticular focus on operating system APIs and how to use them. If you don tlike practical things, you could skip these interludes. But youshould likepractical things, because, well, they are generally usefulin real life; com-panies, for example, don t usually hire you for your non-practical this interlude, we discuss Process creation in UNIX systems. UNIX presents one of the most intriguing ways to create a new Process witha pair of system calls:fork()andexec(). A third routine,wait(),can be used by a Process wishing to wait for a Process it has created tocomplete. We now present these interfaces in more detail, with afewsimple examples to motivate us. And thus, our problem:CRUX: HOWTOCREATEANDCONTROLPROCESSESWhat interfaces should the OS present for Process creation and con-trol? How should these interfaces be designed to enable powerfulfunc-tionality, ease of use, and high performance?
panies, for example, don’t usually hire you for your non-practical skills. In this interlude, we discuss process creation in UNIX systems. UNIX presents one of the most intriguing ways to create a new process with a pair of system calls: fork()and exec(). A third routine, wait(), can be used by a process wishing to wait for a process it has ...
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}