Re: [go-nuts] Are Go locks/mutex not the same as ordinary locks/mutexes?

2016-11-30 Thread adonovan via golang-nuts
On Tuesday, 29 November 2016 13:10:49 UTC-5, Ian Lance Taylor wrote: > > On Tue, Nov 29, 2016 at 9:51 AM, Roger Alsing > wrote: > > Coming from C++/C# background where locks/mutexes are considered evil > due to > > blocking threads. > > Due to how the Go goroutine

Re: [go-nuts] Are Go locks/mutex not the same as ordinary locks/mutexes?

2016-11-29 Thread Ian Lance Taylor
On Tue, Nov 29, 2016 at 9:51 AM, Roger Alsing wrote: > Coming from C++/C# background where locks/mutexes are considered evil due to > blocking threads. > Due to how the Go goroutine scheduler works, are the Go counterpart of those > primitives "different"? > > Should I see