Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for rlocked (4.96 sec)

  1. src/runtime/proc.go

    		pp, _ = pidleget(0)
    	}
    	var locked bool
    	if pp == nil {
    		globrunqput(gp)
    
    		// Below, we stoplockedm if gp is locked. globrunqput releases
    		// ownership of gp, so we must check if gp is locked prior to
    		// committing the release by unlocking sched.lock, otherwise we
    		// could race with another M transitioning gp from unlocked to
    		// locked.
    		locked = gp.lockedm != 0
    	} else if sched.sysmonwait.Load() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    	select {
    	default:
    	case <-ctx.Done():
    		return nil, nil, ctx.Err()
    	}
    
    	// closemu.RLock must come before the check for isDone to prevent the Tx from
    	// closing while a query is executing.
    	tx.closemu.RLock()
    	if tx.isDone() {
    		tx.closemu.RUnlock()
    		return nil, nil, ErrTxDone
    	}
    	if hookTxGrabConn != nil { // test hook
    		hookTxGrabConn()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

              readCount.set(0);
            } finally {
              unlock();
            }
          }
        }
    
        void runUnlockedCleanup() {
          // locked cleanup may generate notifications we can send unlocked
          if (!isHeldByCurrentThread()) {
            map.processPendingNotifications();
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

              readCount.set(0);
            } finally {
              unlock();
            }
          }
        }
    
        void runUnlockedCleanup() {
          // locked cleanup may generate notifications we can send unlocked
          if (!isHeldByCurrentThread()) {
            map.processPendingNotifications();
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    			continue
    		}
    		args.Resources = append(args.Resources, path)
    	}
    
    	for _, lks := range z.serverPools[0].erasureLockers {
    		lockers = append(lockers, lks...)
    	}
    
    	for _, locker := range lockers {
    		locker.ForceUnlock(ctx, args)
    	}
    }
    
    // TopLocksHandler Get list of locks in use
    func (a adminAPIHandlers) TopLocksHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  6. src/reflect/all_test.go

    			j := x.Choose(len(cases))
    			cases[i], cases[j] = cases[j], cases[i]
    			info[i], info[j] = info[j], info[i]
    		}
    
    		if helper != nil {
    			// We wait before kicking off a goroutine to satisfy a blocked select.
    			// The pause needs to be big enough to let the select block before
    			// we run the helper, but if we lose that race once in a while it's okay: the
    			// select will just proceed immediately. Not a big deal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    		}
    		// Don't return sl to activeLog: we don't expect any further states after
    		// this point, and want to keep the ConnState callback blocked until the
    		// next call to wantLog.
    	}
    
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		handler[r.URL.Path](w, r)
    	}), func(ts *httptest.Server) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. src/net/http/server.go

    }
    
    // connReader is the io.Reader wrapper used by *conn. It combines a
    // selectively-activated io.LimitedReader (to bound request header
    // read sizes) with support for selectively keeping an io.Reader.Read
    // call blocked in a background goroutine to wait for activity and
    // trigger a CloseNotifier channel.
    type connReader struct {
    	conn *conn
    
    	mu      sync.Mutex // guards following
    	hasByte bool
    	byteBuf [1]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet.go

    			apiPodStatus.Phase = v1.PodPending
    		}
    		apiPodStatus.Reason = runnable.Reason
    		apiPodStatus.Message = runnable.Message
    		// Waiting containers are not creating.
    		const waitingReason = "Blocked"
    		for _, cs := range apiPodStatus.InitContainerStatuses {
    			if cs.State.Waiting != nil {
    				cs.State.Waiting.Reason = waitingReason
    			}
    		}
    		for _, cs := range apiPodStatus.ContainerStatuses {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  10. src/database/sql/sql_test.go

    		}
    		r.Close()
    		wg.Done()
    	}()
    	// Wait until the goroutine we've just created has started waiting.
    	<-drv.waitingCh
    	// Now close the busy connections. This provides a connection for
    	// the blocked goroutine and then fills up the idle queue.
    	for _, v := range rows {
    		v.Close()
    	}
    	// At this point we give the new connection to DB. This connection is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top