Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 501 for rlocked (0.97 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/ExclusiveAccessResourceLockTest.groovy

        }
    
        def "can unlock a resource that is already unlocked"() {
            when:
            coordinationService.withStateLock(unlock(resourceLock))
    
            then:
            noExceptionThrown()
            !resourceLock.doIsLocked()
            !resourceLock.doIsLockedByCurrentThread()
        }
    
        def "cannot lock a resource that is already locked by another thread"() {
            when:
            async {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. releasenotes/notes/48147.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: installation
    issue:
    - 48112
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 05 18:44:58 UTC 2024
    - 243 bytes
    - Viewed (0)
  3. src/runtime/netpoll_windows.go

    	}
    	n := len(entries) / int(gomaxprocs)
    	if n < 8 {
    		n = 8
    	}
    	if delay != 0 {
    		mp.blocked = true
    	}
    	if stdcall6(_GetQueuedCompletionStatusEx, iocphandle, uintptr(unsafe.Pointer(&entries[0])), uintptr(n), uintptr(unsafe.Pointer(&n)), uintptr(wait), 0) == 0 {
    		mp.blocked = false
    		errno := getlasterror()
    		if errno == _WAIT_TIMEOUT {
    			return gList{}, 0
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/runtime/export_debug_test.go

    // will send SIGTRAP to thread ID tid. gp must be locked to its OS thread and
    // running.
    //
    // On success, InjectDebugCall returns the panic value of fn or nil.
    // If fn did not panic, its results will be available in args.
    func InjectDebugCall(gp *g, fn any, regArgs *abi.RegArgs, stackArgs any, tkill func(tid int) error, returnOnUnsafePoint bool) (any, error) {
    	if gp.lockedm == 0 {
    		return nil, plainError("goroutine not locked to thread")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceWorkerLeaseTest.groovy

                }
                start {
                    coordinationService.withStateLock(lock(resource))
                    instant.locked
                    thread.blockUntil.worker1Started
                    registry.runAsWorkerThread {
                        thread.block()
                        instant.unlocked
                        coordinationService.withStateLock(unlock(resource))
                    }
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. 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)
  10. src/runtime/crash_unix_test.go

    	"strings"
    	"sync"
    	"syscall"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    func init() {
    	if runtime.Sigisblocked(int(syscall.SIGQUIT)) {
    		// We can't use SIGQUIT to kill subprocesses because
    		// it's blocked. Use SIGKILL instead. See issue
    		// #19196 for an example of when this happens.
    		testenv.Sigquit = syscall.SIGKILL
    	}
    }
    
    func TestBadOpen(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top