7 Commits

Author SHA1 Message Date
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
Mark McGranaghan
94cba6875d Add some inline links to "previous examples"
Fixes #144.
2016-12-27 08:50:13 -08:00
Mark McGranaghan
afdf0cc2b4 add trailing newlines 2013-10-06 08:50:23 -07:00
Mark McGranaghan
e77dcdddd4 missing some generated files 2013-09-11 09:01:11 -07:00
Jacques Fuentes
0f7cdc3d65 Fixed minor doc typo for mutexes 2013-03-27 12:08:33 -03:00
Mark McGranaghan
7f9b445752 use multi-line import 2012-10-21 19:25:40 -04:00
Mark McGranaghan
459d16196a publish mutexes and stateful-goroutines 2012-10-21 19:14:04 -04:00