ThreadGroup returns the ThreadGroup this TTY is associated with.
()
| 62 | |
| 63 | // ThreadGroup returns the ThreadGroup this TTY is associated with. |
| 64 | func (tty *TTY) ThreadGroup() *ThreadGroup { |
| 65 | tty.mu.Lock() |
| 66 | defer tty.mu.Unlock() |
| 67 | return tty.tg |
| 68 | } |
| 69 | |
| 70 | // SignalForegroundProcessGroup sends the signal to the foreground process |
| 71 | // group of the TTY. |
no test coverage detected