Re: [go-nuts] Sample code with races needed for presentation

2017-03-09 Thread Haddock
Thanks, Ian. There is plenty of stuff there ;-). Am Donnerstag, 9. März 2017 00:20:33 UTC+1 schrieb Ian Lance Taylor: > > On Wed, Mar 8, 2017 at 2:51 PM, Haddock > > wrote: > > > > I'm working on a comparison between concurency in Go and on the JVM. For > > that reason I would like to show som

Re: [go-nuts] Sample code with races needed for presentation

2017-03-08 Thread Ian Lance Taylor
On Wed, Mar 8, 2017 at 2:51 PM, Haddock wrote: > > I'm working on a comparison between concurency in Go and on the JVM. For > that reason I would like to show some Go code that has problem with > incorrect synchronization and will cause race conditions or deadlocks. Ich > want to demonstrate how t

[go-nuts] Sample code with races needed for presentation

2017-03-08 Thread Haddock
Hello, I'm working on a comparison between concurency in Go and on the JVM. For that reason I would like to show some Go code that has problem with incorrect synchronization and will cause race conditions or deadlocks. Ich want to demonstrate how they are partially caught at compile time or at