mirror of
https://github.com/golang/go
synced 2024-11-21 17:44:40 -07:00
doc: fix typo in Concurrency Patterns article
Fixes #3178. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6506064
This commit is contained in:
parent
997a11ae6a
commit
d353d43d36
@ -64,7 +64,7 @@ could fail since no one is ready.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This problem is a textbook of example of what is known as a
|
This problem is a textbook example of what is known as a
|
||||||
<a href="https://en.wikipedia.org/wiki/Race_condition">race condition</a>, but
|
<a href="https://en.wikipedia.org/wiki/Race_condition">race condition</a>, but
|
||||||
the fix is trivial. We just make sure to buffer the channel <code>ch</code> (by
|
the fix is trivial. We just make sure to buffer the channel <code>ch</code> (by
|
||||||
adding the buffer length as the second argument to <a href="/pkg/builtin/#make">make</a>),
|
adding the buffer length as the second argument to <a href="/pkg/builtin/#make">make</a>),
|
||||||
|
Loading…
Reference in New Issue
Block a user