MCPcopy
hub / github.com/opencontainers/runc / Close

Method Close

libcontainer/sync_unix.go:31–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (s *syncSocket) Close() error {
32 // Even with errors from Close(), we have to assume the pipe was closed.
33 s.closed.Store(true)
34 return s.f.Close()
35}
36
37func (s *syncSocket) isClosed() bool {
38 return s.closed.Load()

Callers 15

mountFdFunction · 0.45
CheckpointMethod · 0.45
RestoreMethod · 0.45
logCriuErrorsFunction · 0.45
criuSwrkMethod · 0.45
criuNotificationsMethod · 0.45
readSyncFunction · 0.45
devChangeNetNamespaceFunction · 0.45
registerMemoryEventFunction · 0.45
closeClonedExesMethod · 0.45
registerMemoryEventV2Function · 0.45

Calls

no outgoing calls

Tested by 15

marshalFunction · 0.36
testMemoryNotificationFunction · 0.36
runLogForwardingFunction · 0.36
finishFunction · 0.36
TestEnterFunction · 0.36
testFreezeFunction · 0.36
TestContainerStateFunction · 0.36
TestHookFunction · 0.36