Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for atomic (0.17 sec)

  1. doc/go_mem.html

    twice.
    </p>
    
    <h3 id="atomic">Atomic Values</h3>
    
    <p>
    The APIs in the <a href="/pkg/sync/atomic/"><code>sync/atomic</code></a>
    package are collectively “atomic operations”
    that can be used to synchronize the execution of different goroutines.
    If the effect of an atomic operation <i>A</i> is observed by atomic operation <i>B</i>,
    then <i>A</i> is synchronized before <i>B</i>.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. doc/asm.html

    and <code>WORD</code> directives
    to lay down explicit data into the instruction stream within a <code>TEXT</code>.
    Here's how the 386 runtime defines the 64-bit atomic load function.
    </p>
    
    <pre>
    // uint64 atomicload64(uint64 volatile* addr);
    // so actually
    // void atomicload64(uint64 *res, uint64 volatile *addr);
    TEXT runtime·atomicload64(SB), NOSPLIT, $0-12
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top