package main
import (
"fmt"
"time"
)
func increment(count *int) {
for i := 0; i < 10000; i++ {
*count++
}
}
func main() {
count := 0
go increment(&count)
go increment(&count)
go increment(&count)
go increment(&count)
go increment(&count)
time.Sleep(time.Second * 2)
fmt.Println(count)
}