-
David Glasser authored
While it was previously explicitly documented that "the default Source" is safe for concurrent use, a careless reader can interpret that as meaning "the implementation of the Source interface created by functions in this package" rather than "the default shared Source used by top-level functions". Be explicit that the Source returned by NewSource is not safe for use by multiple goroutines. Fixes #3611. Change-Id: Iae4bc04c3887ad6e2491e36e38feda40324022c5 Reviewed-on: https://go-review.googlesource.com/25501Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org>
82bc0d4e
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
example_test.go | ||
exp.go | ||
gen_cooked.go | ||
normal.go | ||
race_test.go | ||
rand.go | ||
rand_test.go | ||
regress_test.go | ||
rng.go | ||
zipf.go |