On Sun, Sep 8, 2019 at 8:40 AM changkun <euryugas...@gmail.com> wrote:

> The provided code snipped on my machine can result in different outputs,
> which basically shows that it could occur in any order.
>

Yes


> The randomization mechanism in select statement made the verification
> hard. Logically, my argument is rigorous
>

No, it isn't. You need to learn a lot more about concurrency and race
conditions.

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD8R%3DiTxgHOtDARv6CwptiSqj5VgON%3DC%2B0q4dVB-1n_VgQ%40mail.gmail.com.

Reply via email to