Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Dorsey (0.19 sec)

  1. doc/go_mem.html

    </pre>
    
    <p>
    As before, there is no guarantee that, in <code>main</code>,
    observing the write to <code>done</code>
    implies observing the write to <code>a</code>, so this program could
    print an empty string too.
    Worse, there is no guarantee that the write to <code>done</code> will ever
    be observed by <code>main</code>, since there are no synchronization
    events between the two threads.  The loop in <code>main</code> is not
    guaranteed to finish.
    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