Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tenminste (0.16 sec)

  1. doc/go_mem.html

    In the rewritten program, the other goroutine can observe <code>2</code>, which was previously impossible.
    </p>
    
    <p>
    Not introducing data races also means not assuming that loops terminate.
    For example, a compiler must in general not move the accesses to <code>*p</code> or <code>*q</code>
    ahead of the loop in this program:
    </p>
    
    <pre>
    n := 0
    for e := list; e != nil; e = e.next {
    	n++
    }
    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)
Back to top