bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: give_terminal_to() / maybe_give_terminal_to() race


From: Chet Ramey
Subject: Re: give_terminal_to() / maybe_give_terminal_to() race
Date: Fri, 1 Sep 2023 10:05:52 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

On 9/1/23 1:51 AM, Earl Chew wrote:
On 2023-08-30 07:39, Chet Ramey wrote:

I experimented a bit, and gave the matter some thought. The controlling
terminal must be reconfigured before the parent gets to wait() for the
job,

Where do you get this requirement?


Either the parent must yield the controlling terminal, or the child
must acquire the controlling terminal, and the other must block
until the outcome has been achieved.

Why is blocking necessary?

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]