Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for before (0.14 sec)

  1. doc/go_mem.html

    which are unordered by happens before
    (that is, neither <i>r</i> happens before <i>w</i>
    nor <i>w</i> happens before <i>r</i>).
    </p>
    
    <p>
    A <i>write-write data race</i> on memory location <i>x</i>
    consists of two write-like memory operations <i>w</i> and <i>w'</i> on <i>x</i>,
    at least one of which is non-synchronizing,
    which are unordered by happens before.
    </p>
    
    <p>
    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)
  2. doc/go1.17_spec.html

    the result parameters before they are returned.
    If the deferred function has any return values, they are discarded when
    the function completes.
    (See also the section on <a href="#Handling_panics">handling panics</a>.)
    </p>
    
    <pre>
    lock(l)
    defer unlock(l)  // unlocking happens before surrounding function returns
    
    // prints 3 2 1 0 before surrounding function returns
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    the result parameters before they are returned.
    If the deferred function has any return values, they are discarded when
    the function completes.
    (See also the section on <a href="#Handling_panics">handling panics</a>.)
    </p>
    
    <pre>
    lock(l)
    defer unlock(l)  // unlocking happens before surrounding function returns
    
    // prints 3 2 1 0 before surrounding function returns
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top