Skip to Content
Advanced Programming in the UNIX® Environment: Second Edition
book

Advanced Programming in the UNIX® Environment: Second Edition

by W. Richard Stevens, Stephen A. Rago
June 2005
Intermediate to advanced
960 pages
23h 41m
English
Addison-Wesley Professional
Content preview from Advanced Programming in the UNIX® Environment: Second Edition

Chapter 9. Process Relationships

Introduction

We learned in the previous chapter that there are relationships between processes. First, every process has a parent process (the initial kernel-level process is usually its own parent). The parent is notified when the child terminates, and the parent can obtain the child’s exit status. We also mentioned process groups when we described the waitpid function (Section 8.6) and how we can wait for any process in a process group to terminate.

In this chapter, we’ll look at process groups in more detail and the concept of sessions that was introduced by POSIX.1. We’ll also look at the relationship between the login shell that is invoked for us when we log in and all the processes that we start from our login ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Programming in the UNIX® Environment, Third Edition

Advanced Programming in the UNIX® Environment, Third Edition

W. Richard Stevens, Stephen A. Rago
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 0201433079Purchase book