- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Equals (0.2 sec)
-
doc/go_mem.html
<pre> *p = i + *p/2 </pre> <p> That is, it must not rewrite the program into this one: </p> <pre> *p /= 2 *p += i </pre> <p> If <code>i</code> and <code>*p</code> start equal to 2, the original code does <code>*p = 3</code>, so a racing thread can read only 2 or 3 from <code>*p</code>. The rewritten code does <code>*p = 1</code> and then <code>*p = 3</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)