talk-yapc-asia-2015
talk-yapc-asia-2015 copied to clipboard
talk-yapc-asia-2015
Results
4
talk-yapc-asia-2015 issues
Sort by
recently updated
recently updated
newest added
In the code example provided in `talk.md`, the data race condition is not fixed by changing `visitors++` statement with ```atomic.AddInt64(&visitors, 1)```. Also, ```go w.Write([]byte("Welcome!You are visitor number " + fmt.Sprint(visitors)...
and uniformize all function names to avoid confusion
For completeness, it would be great if you want accept this PR, for giving a simple example how to use channel for fixing race condition. PS : I usually use...