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

Method Wait

pkg/control/server/server.go:76–78  ·  view source on GitHub ↗

Wait waits for the main server goroutine to exit. This should be called after a call to Serve.

()

Source from the content-addressed store, hash-verified

74// Wait waits for the main server goroutine to exit. This should be
75// called after a call to Serve.
76func (s *Server) Wait() {
77 s.wg.Wait()
78}
79
80// Stop stops the server. Note that this function should only be called once
81// and the server should not be used afterwards.

Callers 1

StopMethod · 0.95

Calls 1

WaitMethod · 0.65

Tested by

no test coverage detected