Sign in
go
/
website
/
b1f8652375c03c0504e12ca6fbb024f6c0b12b9e
/
.
/
_content
/
talks
/
2013
/
go1.1
/
race.go
blob: c03b25c01164c4dd15e873025be04d9fc40a55b8 [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
func main() {
var a int
go func() {
for {
if a == 0 {
a = 1
}
}
}()
for {
if a == 1 {
a = 0
}
}
}