On 9/1/23 11:48 AM, Earl Chew wrote:
What remains might be whether there is value in maintaining the present barrier in both parent and child so that it is straightforward to reason about designation of the foreground process in the controlling terminal.
What makes the current implementation, where each child and the parent all change the terminal pgrp, more "straightforward" than leaving the change to each child, if the change serves to eliminate the potential race condition? -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/