Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Mutex (0.02 sec)

  1. doc/go_spec.html

    </p>
    
    <pre>
    // A Mutex is a data type with two methods, Lock and Unlock.
    type Mutex struct         { /* Mutex fields */ }
    func (m *Mutex) Lock()    { /* Lock implementation */ }
    func (m *Mutex) Unlock()  { /* Unlock implementation */ }
    
    // NewMutex has the same composition as Mutex but its method set is empty.
    type NewMutex Mutex
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 02 23:07:19 UTC 2025
    - 286.5K bytes
    - Viewed (1)
  2. doc/godebug.md

    [GC guide](/doc/gc-guide#Linux_transparent_huge_pages), or switch to a Linux
    distribution that disables transparent huge pages altogether.
    
    Go 1.22 added contention on runtime-internal locks to the [`mutex`
    profile](/pkg/runtime/pprof#Profile). Contention on these locks is always
    reported at `runtime._LostContendedRuntimeLock`. Complete stack traces of
    runtime locks can be enabled with the [`runtimecontentionstacks`
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Dec 03 00:18:09 UTC 2025
    - 24.7K bytes
    - Viewed (0)
Back to top