Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dirtyLocked (0.14 sec)

  1. src/sync/map.go

    		m.missLocked()
    	} else {
    		if !read.amended {
    			// We're adding the first new key to the dirty map.
    			// Make sure it is allocated and mark the read-only map as incomplete.
    			m.dirtyLocked()
    			m.read.Store(&readOnly{m: read.m, amended: true})
    		}
    		m.dirty[key] = newEntry(value)
    		actual, loaded = value, false
    	}
    	m.mu.Unlock()
    
    	return actual, loaded
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top