Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for safety (0.17 sec)

  1. doc/go_mem.html

    <code>l.TryLock</code> (or <code>l.TryRLock</code>)
    may be considered to be able to return false
    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>,
    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