]> Cypherpunks repositories - gostls13.git/commit
runtime: eliminate false sharing on random number generators
authorDmitriy Vyukov <dvyukov@google.com>
Tue, 12 Jul 2011 05:23:58 +0000 (01:23 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 12 Jul 2011 05:23:58 +0000 (01:23 -0400)
commit909f31872a0e5e5b8ec5cc49b22ae661777a2fbc
tree2dd9a44089d0aa91f6da86b81a439c7d007bbe35
parentf9f21aa1fb45aaa4eece55f192783bfa46df4909
runtime: eliminate false sharing on random number generators
Use machine-local random number generator instead of
racy global ones.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4674049
src/pkg/runtime/chan.c
src/pkg/runtime/malloc.goc
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.c
src/pkg/runtime/runtime.h