You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function comments specify that n go routines are launched, but code
launches n+1. To match comments, launch n go routines instead of n+1.
Fixesgolang/go#46223
Change-Id: I4e2bf6f521a52af351d6b6a33311988c082d8bec
GitHub-Last-Rev: a32ca355f59f9a2c11638e308caa4d7dee175544
GitHub-Pull-Request: golang/website#52
Reviewed-on: https://go-review.googlesource.com/c/website/+/320032
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Not Applicable.
What operating system and processor architecture are you using (
go env
)?Not Applicable.
What did you do?
Played with the "Concurrent pi" example at https://golang.org, https://play.golang.org/p/Ryve74AOWxA.
What did you expect to see?
The example code should launch n go routines.
What did you see instead?
The example code launches n+1 go routines.
The text was updated successfully, but these errors were encountered: