]> Cypherpunks repositories - gostls13.git/commit
sync.Pool: better documentation
authorRob Pike <r@golang.org>
Wed, 9 Apr 2014 19:45:18 +0000 (05:45 +1000)
committerRob Pike <r@golang.org>
Wed, 9 Apr 2014 19:45:18 +0000 (05:45 +1000)
commita8787cd820fb39575efed14617dde2fb8131b354
tree8415d33307df7d622a82b37a9f0db63fbee482ed
parentf400d9aafc961c18e3289a0e701e61b2482a342a
sync.Pool: better documentation
Explain what its purpose is and give examples of good and bad use.
Fixes #7167.

LGTM=dvyukov, rsc
R=golang-codereviews, dvyukov, rsc
CC=golang-codereviews
https://golang.org/cl/85880044
src/pkg/sync/pool.go