Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rwmutex (0.24 sec)

  1. src/net/http/h2_bundle.go

    	_ http2clientConnPoolIdleCloser = http2noDialClientConnPool{}
    )
    
    // TODO: use singleflight for dialing and addConnCalls?
    type http2clientConnPool struct {
    	t *http2Transport
    
    	mu sync.Mutex // TODO: maybe switch to RWMutex
    	// TODO: add support for sharing conns based on cert names
    	// (e.g. share conn for googleapis.com and appspot.com)
    	conns        map[string][]*http2ClientConn // key is host:port
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.10.md

        * The vSphere cloud provider has a cleanup function with a loop,
        * inside of which a write lock was intended to prevent races against
        * VM creation, but the usage of the sync.RWMutex type is incorrect,
        * plus is placed in a defer call so the locking is effectively
        * nonexistent.  This patch adds an anonymous function call inside
        * the loop to correctly handle acquiring the write lock with deferred
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.11.md

        * The vSphere cloud provider has a cleanup function with a loop,
        * inside of which a write lock was intended to prevent races against
        * VM creation, but the usage of the sync.RWMutex type is incorrect,
        * plus is placed in a defer call so the locking is effectively
        * nonexistent.  This patch adds an anonymous function call inside
        * the loop to correctly handle acquiring the write lock with deferred
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 328.4K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top