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.
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
http://codereview.appspot.com/4816041

Committer: Russ Cox <5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org>

pombredanne/go-deleteme,tv42/old-go,apparentlymart/golang,dsriram/golang,apparentlymart/golang,gnanderson/go,pombredanne/go-deleteme,apparentlymart/golang,gnanderson/go,gnanderson/go,tv42/old-go,gnanderson/go,pombredanne/go-deleteme,tv42/old-go,dsriram/golang,pombredanne/go-deleteme,tv42/old-go,apparentlymart/golang,gnanderson/go,dsriram/golang,pombredanne/go-deleteme,gnanderson/go,apparentlymart/golang,pombredanne/go-deleteme,apparentlymart/golang,dsriram/golang,tv42/old-go,tv42/old-go,apparentlymart/golang,pombredanne/go-deleteme,dsriram/golang,dsriram/golang,dsriram/golang,tv42/old-go,gnanderson/go