gobyexample/examples/stateful-goroutines/stateful-goroutines.hash
Mark McGranaghan 6a58750728 Consistently use Sleep in state-management examples
Consistently use `time.Sleep`, instead of `runtime.Gosched`, to ensure all
goroutines can make progress. `Gosched` wasn't working in the playground
(ref #149).

Also stop trying to compare operation rates. This was tenuous given e.g. how
short the programs ran for, and with the `Sleep`s we now expect the rates to
be similar anyways.
2016-12-27 10:13:03 -08:00

3 lines
52 B
Plaintext

c306add52c0752f0b3099eb669364fc4bdb74be1
P4SrrlosMp