Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for thorough (0.72 sec)

  1. doc/go_mem.html

    even when the mutex <i>l</i> is unlocked.
    </p>
    
    <h3 id="once">Once</h3>
    
    <p>
    The <code>sync</code> package provides a safe mechanism for
    initialization in the presence of multiple goroutines
    through the use of the <code>Once</code> type.
    Multiple threads can execute <code>once.Do(f)</code> for a particular <code>f</code>,
    but only one will run <code>f()</code>, and the other calls block
    until <code>f()</code> has returned.
    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)
Back to top