-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
ATM, terminal control is given to MAIN immediately, which means the monitor process does not receive the signals which it needs to forward to the children. The monitor process should keep the terminal until a SIGTTOU/SIGTTIN meaning a process is trying to do terminal IO in the background. The monitor process will reap this (it will stop as default behavior), and do the tcsetpgid call. The monitor process will remember which PID requested the tty and once it's reaped, the monitor will reclaim tty. When PPR begins, monitor will take back the terminal and NOT give it away, and just let the understudy win.
Metadata
Metadata
Assignees
Labels
No labels