Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
thundergolfer committed Jan 11, 2024
1 parent 1f0cd9e commit 2fcab83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions books/computer_systems_app/labs/shell/tsh.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ void eval(char *cmdline)
exit(0); // TODO: dont always exit 0
} else {
debug("after fork: parent waiting for child");
// TODO: should this be set using setpgid(0, 0) in child instead?
if (setpgid(pid, pid)) { // give unique proc group ID
unix_error("failed to set proc group ID");
}
Expand Down

0 comments on commit 2fcab83

Please sign in to comment.