1
0
mirror of https://github.com/golang/go synced 2024-11-24 17:50:15 -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:
Andrew Gerrand 2012-09-04 15:28:09 +10:00
parent 997a11ae6a
commit d353d43d36

View File

@ -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>),