Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 595 for lockedm (0.2 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandler.java

                    signal.trigger();
                }
            } else {
                LOGGER.debug("Gradle process at port {} confirmed unlock request for lock with id {}.", port, lockId);
                unlocksConfirmedFrom.put(lockId, port);
            }
        }
    
        @Override
        public void start(long lockId, Consumer<FileLockReleasedSignal> whenContended) {
            lock.lock();
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/ExclusiveAccessResourceLockTest.groovy

            coordinationService.withStateLock(unlock(resourceLock))
    
            then:
            !resourceLock.doIsLocked()
            !resourceLock.doIsLockedByCurrentThread()
        }
    
        def "can lock a resource that is already locked"() {
            given:
            assert coordinationService.withStateLock(tryLock(resourceLock))
            assert resourceLock.doIsLocked()
    
            when:
            coordinationService.withStateLock(tryLock(resourceLock))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationFactory.java

                    role
            );
            instance.addMutationValidator(rootComponentMetadataBuilder.getValidator());
            return instance;
        }
    
        /**
         * Creates a new locked resolvable configuration instance.
         */
        DefaultResolvableConfiguration createResolvable(
            String name,
            ConfigurationsProvider configurationsProvider,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    				sum := c.add(uint64(n))
    				debugPrintf("Add %q += %d: count=%d\n", c.name, n, sum)
    			}
    			c.releaseReader(state)
    			return
    
    		case state.locked():
    			if !c.state.update(&state, state.addExtra(uint64(n))) {
    				continue
    			}
    			debugPrintf("Add %q += %d: locked extra=%d\n", c.name, n, state.extra())
    			return
    
    		case !state.havePtr():
    			if !c.state.update(&state, state.addExtra(uint64(n)).setLocked()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/runtime/preempt.go

    // Goroutine preemption
    //
    // A goroutine can be preempted at any safe-point. Currently, there
    // are a few categories of safe-points:
    //
    // 1. A blocked safe-point occurs for the duration that a goroutine is
    //    descheduled, blocked on synchronization, or in a system call.
    //
    // 2. Synchronous safe-points occur when a running goroutine checks
    //    for a preemption request.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. cmd/lock-rest-server-common_test.go

    		TimeLastRefresh: UTCNow(),
    	}
    
    	locker.ll.lockMap["name"] = []lockRequesterInfo{
    		lockRequesterInfo1,
    		lockRequesterInfo2,
    	}
    
    	lri := locker.ll.lockMap["name"]
    
    	// test unknown uid
    	if locker.ll.removeEntry("name", dsync.LockArgs{
    		Owner: "owner",
    		UID:   "unknown-uid",
    	}, &lri) {
    		t.Errorf("Expected %#v, got %#v", false, true)
    	}
    
    	if !locker.ll.removeEntry("name", dsync.LockArgs{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 23 17:26:21 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/syscall/pwd_plan9.go

    // the most recent [Chdir] called in any goroutine. It's called internally
    // before executing any syscall which uses a relative pathname. Must
    // be called with the goroutine locked to the OS thread, to prevent
    // rescheduling on a different thread (potentially with a different
    // working directory) before the syscall is executed.
    func Fixwd() {
    	wdmu.Lock()
    	defer wdmu.Unlock()
    	fixwdLocked()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. releasenotes/notes/cni-no-sh.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: installation
    issue:
      - 48746
    releaseNotes:
      - |
        **Fixed** an issue causing Istio CNI to stop functioning on minimal/locked down nodes (such as no `sh` binary).
        The new logic runs with no external dependencies, and will attempt to continue if errors are encountered (which could be caused by things like SELinux rules).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 22 21:29:52 UTC 2024
    - 445 bytes
    - Viewed (0)
  9. src/runtime/lock_futex.go

    		// Sleep for an arbitrary-but-moderate interval to poll libc interceptors.
    		ns = 10e6
    	}
    	for atomic.Load(key32(&n.key)) == 0 {
    		gp.m.blocked = true
    		futexsleep(key32(&n.key), 0, ns)
    		if *cgo_yield != nil {
    			asmcgocall(*cgo_yield, nil)
    		}
    		gp.m.blocked = false
    	}
    }
    
    // May run with m.p==nil if called from notetsleep, so write barriers
    // are not allowed.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/net/net.go

    listed in /etc/resolv.conf, or it can use a cgo-based resolver that calls C
    library routines such as getaddrinfo and getnameinfo.
    
    On Unix the pure Go resolver is preferred over the cgo resolver, because a blocked DNS
    request consumes only a goroutine, while a blocked C call consumes an operating system thread.
    When cgo is available, the cgo-based resolver is used instead under a variety of
    conditions: on systems that do not let programs make direct DNS requests (OS X),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top