Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for defBlock (0.13 sec)

  1. src/runtime/crash_test.go

    	testCrashHandler(t, false)
    }
    
    func testDeadlock(t *testing.T, name string) {
    	// External linking brings in cgo, causing deadlock detection not working.
    	testenv.MustInternalLink(t, false)
    
    	output := runTestProg(t, "testprog", name)
    	want := "fatal error: all goroutines are asleep - deadlock!\n"
    	if !strings.HasPrefix(output, want) {
    		t.Fatalf("output does not start with %q:\n%s", want, output)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. src/runtime/panic.go

    	mp := acquirem()
    	pp := mp.p.ptr()
    	if len(pp.deferpool) == 0 && sched.deferpool != nil {
    		lock(&sched.deferlock)
    		for len(pp.deferpool) < cap(pp.deferpool)/2 && sched.deferpool != nil {
    			d := sched.deferpool
    			sched.deferpool = d.link
    			d.link = nil
    			pp.deferpool = append(pp.deferpool, d)
    		}
    		unlock(&sched.deferlock)
    	}
    	if n := len(pp.deferpool); n > 0 {
    		d = pp.deferpool[n-1]
    		pp.deferpool[n-1] = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. src/runtime/preempt.go

    // the current M (if any) must be in a preemptible state. This
    // prevents deadlocks where two goroutines attempt to suspend each
    // other and both are in non-preemptible states. There are other ways
    // to resolve this deadlock, but this seems simplest.
    //
    // TODO(austin): What if we instead required this to be called from a
    // user goroutine? Then we could deschedule the goroutine while
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractLockingIntegrationTest.groovy

        def lockfileFixture = new LockfileFixture(testDirectory: testDirectory)
        ResolveTestFixture resolve
    
        def setup() {
            settingsFile << "rootProject.name = 'depLock'"
            resolve = new ResolveTestFixture(buildFile, "lockedConf")
            resolve.prepare()
            resolve.addDefaultVariantDerivationStrategy()
        }
    
        abstract LockMode lockMode()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. src/runtime/os_windows.go

    			// CreateThread may fail if called
    			// concurrently with ExitProcess. If this
    			// happens, just freeze this thread and let
    			// the process exit. See issue #18253.
    			lock(&deadlock)
    			lock(&deadlock)
    		}
    		print("runtime: failed to create new OS thread (have ", mcount(), " already; errno=", getlasterror(), ")\n")
    		throw("runtime.newosproc")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java

                    requestCompleted(outcome);
                }
            } finally {
                httpExchange.close();
            }
        }
    
        // Dump all JVMs' threads on the machine to troubleshoot deadlock issues
        // We observed jstack hanging on windows, so for now we only enable it for Linux
        private void dumpThreadsUponTimeout(String stacktrace) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                            const int in_flight_nodes_limit)
          : status_(TF_NewStatus()),
            // If the context's default exector is set to async, re-using that in
            // each thread would cause collectives to deadlock. For consistency we
            // create a new sync executor for every thread.
            //
            // TODO(allenl): We should have an async API that works with the
            // parallel device.
            device_(device),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/managedfields/node.yaml

        reason: UnregisterNetDevice
        status: "False"
        type: FrequentUnregisterNetDevice
      - lastHeartbeatTime: "2019-09-20T19:32:08Z"
        lastTransitionTime: "2019-07-09T16:17:04Z"
        message: kernel has no deadlock
        reason: KernelHasNoDeadlock
        status: "False"
        type: KernelDeadlock
      - lastHeartbeatTime: "2019-09-20T19:32:08Z"
        lastTransitionTime: "2019-07-09T16:17:04Z"
        message: Filesystem is not read-only
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/JavaProcessStackTracesMonitor.java

     *
     * Used to print all JVMs' thread dumps on the machine. When it starts working, the process/machine might be in a bad state (e.g. deadlock),
     * So we don't want it to depend on any third-party libraries. It's executed directly via `java JavaProcessStackTracesMonitor` in `PrintStackTracesOnTimeoutBuildService`.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsIntegrationTest.groovy

            expect:
            executer.withArguments('--max-workers', '4')
            succeeds("resolve")
        }
    
        @Issue("gradle/gradle#2415")
        def "should not deadlock when downloading parent pom concurrently with a top-level dependency"() {
            given:
            def child1 = mavenRepo.module("org", "child1", "1.0")
            child1.parent("org", "parent1", "1.0")
            child1.publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top