- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Breiding (0.14 sec)
-
doc/go_mem.html
<p> That is, the compiler must not rewrite the program into this one: </p> <pre> *p = 2 if !cond { *p = 1 } </pre> <p> If <code>cond</code> is false and another goroutine is reading <code>*p</code>, then in the original program, the other goroutine can only observe any prior value of <code>*p</code> and <code>1</code>.
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0)