Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 432 for unlock2 (0.13 sec)

  1. internal/logger/target/http/http.go

    	}
    }
    
    func (h *Target) startQueueProcessor(ctx context.Context, mainWorker bool) {
    	h.logChMu.RLock()
    	if h.logCh == nil {
    		h.logChMu.RUnlock()
    		return
    	}
    	h.logChMu.RUnlock()
    
    	atomic.AddInt64(&h.workers, 1)
    	defer atomic.AddInt64(&h.workers, -1)
    
    	h.wg.Add(1)
    	defer h.wg.Done()
    
    	entries := make([]interface{}, 0)
    	name := h.Name()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. src/runtime/netpoll.go

    	fdseq := pd.fdseq.Load()
    	fdseq = (fdseq + 1) & (1<<taggedPointerBits - 1)
    	pd.fdseq.Store(fdseq)
    
    	pd.publishInfo()
    
    	unlock(&pd.lock)
    
    	lock(&c.lock)
    	pd.link = c.first
    	c.first = pd
    	unlock(&c.lock)
    }
    
    // poll_runtime_pollReset, which is internal/poll.runtime_pollReset,
    // prepares a descriptor for polling in mode, which is 'r' or 'w'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java

                            throw new IllegalStateException("Some project locks have not been unlocked.");
                        }
                        if (taskLockRegistry.hasOpenLocks()) {
                            throw new IllegalStateException("Some task execution locks have not been unlocked.");
                        }
                    }
                });
                return finishState;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/controller.go

    		Domain:         c.domain,
    		Context:        NewGatewayContext(ps, c.cluster),
    	}
    
    	if !input.hasResources() {
    		// Early exit for common case of no gateway-api used.
    		c.stateMu.Lock()
    		defer c.stateMu.Unlock()
    		// make sure we clear out the state, to handle the last gateway-api resource being removed
    		c.state = IstioResources{}
    		return nil
    	}
    
    	nsl := c.namespaces.List("", klabels.Everything())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. security/pkg/pki/util/keycertbundle.go

    	privKey, _ := ParsePemEncodedKey(privKeyBytes)
    	b.privKey = &privKey
    	b.mutex.Unlock()
    }
    
    // CertOptions returns the certificate config based on currently stored cert.
    func (b *KeyCertBundle) CertOptions() (*CertOptions, error) {
    	b.mutex.RLock()
    	defer b.mutex.RUnlock()
    	ids, err := ExtractIDs(b.cert.Extensions)
    	if err != nil {
    		return nil, fmt.Errorf("failed to extract id %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/runtime/netpoll_solaris.go

    	// Fortunately we only support Solaris on amd64.
    	if goarch.PtrSize != 8 {
    		throw("runtime: netpollopen: unsupported pointer size")
    	}
    	r := port_associate(portfd, _PORT_SOURCE_FD, fd, 0, uintptr(tp))
    	unlock(&pd.lock)
    	return r
    }
    
    func netpollclose(fd uintptr) int32 {
    	return port_dissociate(portfd, _PORT_SOURCE_FD, fd)
    }
    
    // Updates the association with a new set of interested events. After
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. pilot/pkg/model/context.go

    	if r == nil {
    		return
    	}
    	node.Lock()
    	defer node.Unlock()
    	node.WatchedResources[r.TypeUrl] = r
    }
    
    func (node *Proxy) UpdateWatchedResource(typeURL string, updateFn func(*WatchedResource) *WatchedResource) {
    	node.Lock()
    	defer node.Unlock()
    	r := node.WatchedResources[typeURL]
    	r = updateFn(r)
    	if r != nil {
    		node.WatchedResources[typeURL] = r
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (1)
  8. pkg/kubelet/config/config.go

    }
    
    func (s *podStorage) markSourceSet(source string) {
    	s.sourcesSeenLock.Lock()
    	defer s.sourcesSeenLock.Unlock()
    	s.sourcesSeen.Insert(source)
    }
    
    func (s *podStorage) seenSources(sources ...string) bool {
    	s.sourcesSeenLock.RLock()
    	defer s.sourcesSeenLock.RUnlock()
    	return s.sourcesSeen.HasAll(sources...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. cmd/perf-tests.go

    	activeConnections uint64
    	sync.RWMutex
    }
    
    func (n *netPerfRX) Connect() {
    	n.Lock()
    	defer n.Unlock()
    	n.activeConnections++
    	atomic.StoreUint64(&n.RX, 0)
    	n.lastToConnect = time.Now()
    }
    
    func (n *netPerfRX) Disconnect() {
    	n.Lock()
    	defer n.Unlock()
    	n.activeConnections--
    	if n.firstToDisconnect.IsZero() {
    		n.RXSample = atomic.LoadUint64(&n.RX)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    	for _, e := range slice.Endpoints {
    		for _, a := range e.Addresses {
    			esc.c.pods.endpointDeleted(key, a)
    		}
    	}
    
    	esc.endpointCache.mu.Lock()
    	defer esc.endpointCache.mu.Unlock()
    	for _, hostName := range esc.c.hostNamesForNamespacedName(getServiceNamespacedName(slice)) {
    		// endpointSlice cache update
    		if esc.endpointCache.has(hostName) {
    			esc.endpointCache.delete(hostName, slice.Name)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top