Gopher Robot submitted the change![Open in Gerrit]()
Change information
Commit message:
os/exec: document that Cmd.Wait must not be called concurrently
Clarify in the Wait documentation that it must not be called
concurrently from multiple goroutines. Also note that a custom
Cmd.Cancel function should not call Wait because Cancel may be
invoked by watchCtx in a separate goroutine.
Fixes #78046
Change-Id: I5c0ebc41bd3c39c78f3b37539c59cdfedfd90e72
Change size: XS
Delta: 1 file changed, 3 insertions(+), 0 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Ian Lance Taylor, +1 by Carlos Amedee, +1 by Mark Freeman
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I5c0ebc41bd3c39c78f3b37539c59cdfedfd90e72
Gerrit-Change-Number: 753602
Gerrit-PatchSet: 3