Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for by (0.35 sec)

  1. doc/go_mem.html

    	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.
    In fact, an aggressive compiler might delete the entire <code>go</code> statement.
    </p>
    
    <p>
    If the effects of a goroutine must be observed by another goroutine,
    use a synchronization mechanism such as a lock or channel
    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)
Back to top