Commit e97c8706 authored by Andrew Gerrand's avatar Andrew Gerrand

math/rand: mention that the default Source is thread-safe

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/11709043
parent 4d17efe8
......@@ -8,6 +8,7 @@
// Float64 and Int, use a default shared Source that produces a deterministic
// sequence of values each time a program is run. Use the Seed function to
// initialize the default Source if different behavior is required for each run.
// The default Source is safe for concurrent use by multiple goroutines.
package rand
import "sync"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment