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

Method Destroy

pkg/aio/aio.go:36–36  ·  view source on GitHub ↗

Destroy cancels all inflight operations and releases resources owned by the Queue. Destroy waits for cancelation, so the Queue will not access memory corresponding to inflight operations after Destroy returns.

()

Source from the content-addressed store, hash-verified

34 // the Queue. Destroy waits for cancelation, so the Queue will not access
35 // memory corresponding to inflight operations after Destroy returns.
36 Destroy()
37
38 // Cap returns the Queue's capacity, which is the maximum number of
39 // concurrent operations supported by the Queue.

Callers 15

destroyMethod · 0.65
createChannelMethod · 0.65
closeMethod · 0.65
destroyMethod · 0.65
testReadFunction · 0.65
testReadvFunction · 0.65
testWriteFunction · 0.65
testWritevFunction · 0.65
TestBindNICIDFunction · 0.65
TestBindToDeviceOptionFunction · 0.65

Implementers 2

LinuxQueuepkg/aio/aio_linux_unsafe.go
GoQueuepkg/aio/aio.go

Calls

no outgoing calls

Tested by 15

destroyMethod · 0.52
testReadFunction · 0.52
testReadvFunction · 0.52
testWriteFunction · 0.52
testWritevFunction · 0.52
TestBindNICIDFunction · 0.52
TestBindToDeviceOptionFunction · 0.52
TestTCPMigrationFunction · 0.52