MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / Wait

Method Wait

pkg/concurrency/executed.go:68–74  ·  view source on GitHub ↗

Wait waits for execution

()

Source from the content-addressed store, hash-verified

66
67// Wait waits for execution
68func (i *Executed) Wait() {
69 i.cond.L.Lock()
70 defer i.cond.L.Unlock()
71 if !i.done {
72 i.cond.Wait()
73 }
74}
75
76// Broadcast broadcasts execution to waiting goroutines
77func (i *Executed) Broadcast() {

Callers 11

writer_test.goFile · 0.45
waitMethod · 0.45
WaitMethod · 0.45
executed_test.goFile · 0.45
WithActiveInstanceMethod · 0.45
FromReaderFunction · 0.45
NewCmdFunction · 0.45
runSubCommandFunction · 0.45
runPostgresAndWaitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected