MCPcopy
hub / github.com/google/gvisor / ThreadGroup

Method ThreadGroup

pkg/sentry/kernel/tty.go:64–68  ·  view source on GitHub ↗

ThreadGroup returns the ThreadGroup this TTY is associated with.

()

Source from the content-addressed store, hash-verified

62
63// ThreadGroup returns the ThreadGroup this TTY is associated with.
64func (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.

Callers 15

CheckChangeMethod · 0.95
SaveRestoreExecFunction · 0.45
ProcessesFunction · 0.45
OpenMethod · 0.45
checkPermissionMethod · 0.45
OpenMethod · 0.45
getrusageFunction · 0.45
TimesFunction · 0.45
CopyInPollFDsFunction · 0.45
getClockFunction · 0.45
GetppidFunction · 0.45
GetpidFunction · 0.45

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected