Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for event (0.13 sec)

  1. doc/go_mem.html

    <p>
    The exit of a goroutine is not guaranteed to be synchronized before
    any event in the program.
    For example, in this program:
    </p>
    
    <pre>
    var a string
    
    func hello() {
    	go func() { a = "hello" }()
    	print(a)
    }
    </pre>
    
    <p>
    the assignment to <code>a</code> is not followed by
    any synchronization event, so it is not guaranteed to be
    observed by any other goroutine.
    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

    <p>
    the function calls and communication happen in the order
    <code>f()</code>, <code>h()</code>, <code>i()</code>, <code>j()</code>,
    <code>&lt;-c</code>, <code>g()</code>, and <code>k()</code>.
    However, the order of those events compared to the evaluation
    and indexing of <code>x</code> and the evaluation
    of <code>y</code> is not specified.
    </p>
    
    <pre>
    a := 1
    f := func() int { a++; return a }
    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/asm.html

    The actual name is semantically irrelevant but should be used to document
    the argument's name.
    It is worth stressing that <code>FP</code> is always a
    pseudo-register, not a hardware
    register, even on architectures with a hardware frame pointer.
    </p>
    
    <p>
    For assembly functions with Go prototypes, <code>go</code> <code>vet</code> will check that the argument names
    and offsets match.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  4. doc/go_spec.html

    <code>f()</code>, <code>h()</code> (if <code>z</code>
    evaluates to false), <code>i()</code>, <code>j()</code>,
    <code>&lt;-c</code>, <code>g()</code>, and <code>k()</code>.
    However, the order of those events compared to the evaluation
    and indexing of <code>x</code> and the evaluation
    of <code>y</code> and <code>z</code> is not specified,
    except as required lexically. For instance, <code>g</code>
    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