5 Commits

Author SHA1 Message Date
Eli Bendersky
a9507f5bbb
Clarify comment for the goroutines sample ()
* Clarify comment for the goroutines sample.

The current comment may be interpreted to say that the output must be
interleaved, when in fact it doesn't have to be (it depends on the order
the goroutines are run). Make the comment more permissive to avoid the
confusion.

Fixes 

* Fix phrasing in comment
2021-08-30 07:17:25 -07:00
Eli Bendersky
61e8dde1c1 Use time.Sleep instead of fmt.Scanln to wait for goroutines
The Scanln doesn't work on the Go playground

Fixes 
2019-09-20 14:55:41 -07:00
Mark McGranaghan
ca05e42084 Fix goroutines spelling 2018-02-01 17:58:40 -05:00
Mark McGranaghan
d19153e5f6 publish select 2012-10-11 08:35:16 -07:00
Mark McGranaghan
e34108a8d1 publish goroutines 2012-10-11 07:52:36 -07:00