• Russ Cox's avatar
    runtime: correct memory leak in select · ec53627e
    Russ Cox authored
      * 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
    ec53627e
Name
Last commit
Last update
..
doubleselect.go Loading commit data...
fifo.go Loading commit data...
goroutines.go Loading commit data...
nonblock.go Loading commit data...
perm.go Loading commit data...
powser1.go Loading commit data...
powser2.go Loading commit data...
select.go Loading commit data...
select2.go Loading commit data...
sieve1.go Loading commit data...
sieve2.go Loading commit data...