1
0
mirror of https://github.com/golang/go synced 2024-11-24 20:50:11 -07:00
go/test/chan
Russ Cox ec53627ed5 runtime: correct memory leak in select
* adds pass 3 to dequeue from channels eagerly

various other cleanup/churn:
  * use switch on cas->send in each pass to
    factor out common code.
  * longer goto labels, commented at target
  * be more agressive about can't happen:
    throw instead of print + cope.
  * use "select" instead of "selectgo" in errors
  * use printf for debug prints when possible

R=ken2, ken3
CC=golang-dev, r
https://golang.org/cl/875041
2010-04-01 11:56:18 -07:00
..
doubleselect.go single argument panic 2010-03-30 10:34:57 -07:00
fifo.go
goroutines.go
nonblock.go single argument panic 2010-03-30 10:34:57 -07:00
perm.go
powser1.go
powser2.go
select2.go runtime: correct memory leak in select 2010-04-01 11:56:18 -07:00
select.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
sieve1.go single argument panic 2010-03-30 10:34:57 -07:00
sieve2.go single argument panic 2010-03-30 10:34:57 -07:00