Sign in
go
/
talks
/
a07c284bcf333dc17a1489fd441e8fccf1e01c2a
/
.
/
content
/
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
}
}
}