]> Cypherpunks repositories - gostls13.git/commit
runtime: apply minor tweaks to channels
authorDmitriy Vyukov <dvyukov@google.com>
Wed, 20 Jul 2011 18:28:55 +0000 (14:28 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 20 Jul 2011 18:28:55 +0000 (14:28 -0400)
commit102b5b34a7a0ecf86b35bf624d484dc8e1712199
tree290c463659bfa83485589f8622f65f3a9c7356a6
parent90f3cb13fb0f37073e02ecd79771deb938ea7f5e
runtime: apply minor tweaks to channels
Remove complicated PRNG algorithm
(argument is limited by uint16 and can't be <= 1).
Do not require chansend/chanrecv selgen to be bumped with CAS.

R=rsc, ken
CC=golang-dev
https://golang.org/cl/4816041
src/pkg/runtime/chan.c