Re: [go-nuts] Channels and Mutexs

2016-12-13 Thread Ian Lance Taylor
On Tue, Dec 13, 2016 at 6:06 PM, wrote: > > So, I was talking with a friend about channels and mutexs, and the use of > mutexs instead of channels. While I'm not sure why you'd want to, I was > given this example and not an answer. > > In the example, he declares two channels. Input and Output. T

[go-nuts] Channels and Mutexs

2016-12-13 Thread sdickey
So, I was talking with a friend about channels and mutexs, and the use of mutexs instead of channels. While I'm not sure why you'd want to, I was given this example and not an answer. In the example, he declares two channels. Input and Output. Then, he has