Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 201 for rlocked (0.23 sec)

  1. src/runtime/debugcall.go

    		// Transfer locked-ness to the new goroutine.
    		// Save lock state to restore later.
    		mp := gp.m
    		if mp != gp.lockedm.ptr() {
    			throw("inconsistent lockedm")
    		}
    		// Save the external lock count and clear it so
    		// that it can't be unlocked from the debug call.
    		// Note: we already locked internally to the thread,
    		// so if we were locked before we're still locked now.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/crypto/rand/rand_unix.go

    var altGetRandom func([]byte) (err error)
    
    func warnBlocked() {
    	println("crypto/rand: blocked for 60 seconds waiting to read random data from the kernel")
    }
    
    func (r *reader) Read(b []byte) (n int, err error) {
    	boring.Unreachable()
    	if r.used.CompareAndSwap(0, 1) {
    		// First use of randomness. Start timer to warn about
    		// being blocked on entropy not being available.
    		t := time.AfterFunc(time.Minute, warnBlocked)
    		defer t.Stop()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 01 08:32:46 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/MixedDependencyLockingIntegrationTest.groovy

        def lockfileFixture = new LockfileFixture(testDirectory: testDirectory)
    
        def setup() {
            settingsFile << "rootProject.name = 'mixedDepLock'"
        }
    
        def 'can resolve locked and unlocked configurations'() {
            mavenRepo.module('org', 'foo', '1.0').publish()
            mavenRepo.module('org', 'foo', '1.1').publish()
    
            buildFile << """
    repositories {
        maven {
            name 'repo'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingStrictModeIntegrationTest.groovy

            fails 'dependencies', '--update-locks', 'org:foo'
    
            then:
            failureHasCause("Locking strict mode: Configuration ':lockedConf' is locked but does not have lock state.")
            lockfileFixture.expectLockStateMissing('unlockedConf')
        }
    
        def 'ignores not locked configurations'() {
            mavenRepo.module('org', 'foo', '1.0').publish()
    
            buildFile << """
    dependencyLocking {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/wait-on-pipe.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests a goroutine sitting blocked in a syscall for
    // an entire generation. This is a regression test for
    // #65196.
    
    //go:build ignore
    
    package main
    
    import (
    	"log"
    	"os"
    	"runtime/trace"
    	"syscall"
    	"time"
    )
    
    func main() {
    	// Create a pipe to block on.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/trace/procgen.go

    	if from == trace.GoNotExist && to == trace.GoRunnable {
    		// Goroutine was created.
    		gs.created(ev.Time(), ev.Proc(), ev.Stack())
    	}
    	if from == trace.GoSyscall && to != trace.GoRunning {
    		// Goroutine exited a blocked syscall.
    		gs.blockedSyscallEnd(ev.Time(), ev.Stack(), ctx)
    	}
    
    	// Handle syscalls.
    	if to == trace.GoSyscall && ev.Proc() != trace.NoProc {
    		start := ev.Time()
    		if from == trace.GoUndetermined {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. test/fixedbugs/issue5963.go

    // Used to die in runtime due to init goroutine exiting while
    // locked to main thread.
    
    package main
    
    import (
    	"os"
    	"runtime"
    )
    
    func init() {
    	c := make(chan int, 1)
    	defer func() {
    		c <- 0
    	}()
    	go func() {
    		os.Exit(<-c)
    	}()
    	runtime.Goexit()
    }
    
    func main() {
    }
    
    /* Before fix:
    
    invalid m->locked = 2
    fatal error: internal lockOSThread error
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 929 bytes
    - Viewed (0)
  8. releasenotes/notes/xds-push-deadlock.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue: [39209]
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 09 17:22:30 UTC 2022
    - 199 bytes
    - Viewed (0)
  9. src/cmd/go/internal/lockedfile/lockedfile_plan9.go

    //
    //   - "open/create -- file is locked" (cwfs, kfs)
    //   - "exclusive lock" (fossil)
    //   - "exclusive use file already open" (ramfs)
    var lockedErrStrings = [...]string{
    	"file is locked",
    	"exclusive lock",
    	"exclusive use file already open",
    }
    
    // Even though plan9 doesn't support the Lock/RLock/Unlock functions to
    // manipulate already-open files, IsLocked is still meaningful: os.OpenFile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/AbstractWorkerLeaseServiceTest.groovy

            service.startProjectExecution(parallel)
            return service
        }
    
        TestTrackedResourceLock resourceLock(String displayName, boolean locked, boolean hasLock = false) {
            return new TestTrackedResourceLock(displayName, coordinationService, Mock(ResourceLockContainer), locked, hasLock)
        }
    
        TestTrackedResourceLock resourceLock(String displayName) {
            return resourceLock(displayName, false)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top