Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for lock_held (0.12 sec)

  1. cmd/admin-handlers_test.go

    			UID:    mustGetUUID(),
    			Owner:  owners[i%len(owners)],
    			Quorum: 2,
    		}
    		lris = append(lris, lri)
    		locksHeld[resource] = append(locksHeld[resource], lri)
    		// concurrent read lock, same resource different uid
    		lri.UID = mustGetUUID()
    		lris = append(lris, lri)
    		locksHeld[resource] = append(locksHeld[resource], lri)
    	}
    
    	var peerLocks []*PeerLocks
    	for _, owner := range owners {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    	mp := acquirem()
    	if !lockheld {
    		lock(&sched.lock)
    	}
    	if pp == nil {
    		if spinning {
    			// TODO(prattmic): All remaining calls to this function
    			// with _p_ == nil could be cleaned up to find a P
    			// before calling startm.
    			throw("startm: P required for spinning=true")
    		}
    		pp, _ = pidleget(0)
    		if pp == nil {
    			if !lockheld {
    				unlock(&sched.lock)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    	pcvalueCache pcvalueCache
    
    	dlogPerM
    
    	mOS
    
    	chacha8   chacha8rand.State
    	cheaprand uint64
    
    	// Up to 10 locks held by this m, maintained by the lock ranking code.
    	locksHeldLen int
    	locksHeld    [10]heldLockInfo
    }
    
    type p struct {
    	id          int32
    	status      uint32 // one of pidle/prunning/...
    	link        puintptr
    	schedtick   uint32     // incremented on every scheduler call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top