SGG-3-2

Please keep reading the following sub-chapters in details for the next class.

3.3 Operations on processes

  • How is a Unix process created or terminated? In terms of bookkeeping, what does the system need to at process creation and process termination?
  • Learn to work with fork(2)exit(3)exec(3), wait(2), waitpid(2).
  • What happens to the memory footprint of a process when fork() is invoked? Which memory structures might be shared between a parent and a child process?
  • Describe the information that Unix can give you upon the invocation of commands ps and pstree.
  • What are the differences between fork(2) and exec(3)?
  •  What is a zombie process?

3.4 Interprocess communication

  • Compare shared-memory to message passing. What the most important conceptual differences?
  • Learn to work with pipe(2).
  • Take a look at Stevens/Rago 15.1, 15.2, 15.4, 15.5. Working through this material will make you very well prepared for lab. Very.
  • IPC systems can be categorized by characteristics such as naming, synchronization, and buffering. Compare the design options for each of these from the perspective of ease of use in writing programs

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.