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

Method Wait

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

Wait blocks until at least minCompletions inflight operations have completed, then appends all completed inflight operations to cs and returns the updated slice. If Wait returns a non-nil error, no Queue methods may be subsequently called except Destroy. Preconditions: - 0 <= minCompletions <= Cap

(cs []Completion, minCompletions int)

Source from the content-addressed store, hash-verified

58 // Preconditions:
59 // - 0 <= minCompletions <= Cap().
60 Wait(cs []Completion, minCompletions int) ([]Completion, error)
61}
62
63// Request is defined in aio_unsafe.go.

Callers 15

mainFunction · 0.65
RunMethod · 0.65
importPackageMethod · 0.65
checkPackageMethod · 0.65
MainFunction · 0.65
AllResultsMethod · 0.65
loadObjdumpFunction · 0.65
WaitMethod · 0.65
TestWaitFunction · 0.65
WaitMethod · 0.65
runSocketTestFunction · 0.65
TestStressFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 15

TestWaitFunction · 0.52
runSocketTestFunction · 0.52
TestStressFunction · 0.52
TestTimerMetricFunction · 0.52
TestRecvFDThenShutdownFunction · 0.52
ExampleFunction · 0.52
testSendRecvFunction · 0.52