Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Nevett (0.36 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. doc/go1.22.html

      more than 8-byte aligned and rely on the memory allocator's previous alignment behavior
      may break, but we expect such programs to be rare.
      Such programs may be built with <code>GOEXPERIMENT=noallocheaders</code> to revert
      to the old metadata layout and restore the previous alignment behavior, but package
      owners should update their assembly code to avoid the alignment assumption, as this
      workaround will be removed in a future release.
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top