- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 271 for defBlock (0.33 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ProgressBar.java
Future<?> ignored = deadlockPreventer.submit(new Runnable() { @Override public void run() { // do not do this directly or a deadlock happens // to prevent that deadlock, execute it separately in another thread LOGGER.warn("More progress was logged than there should be ({} > {})", current, total); } }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 5.7K bytes - Viewed (0) -
src/runtime/testdata/testprog/preempt.go
runtime.Gosched() } // Run a GC, which will have to stop the goroutine for STW and // for stack scanning. If this doesn't work, the test will // deadlock and timeout. runtime.GC() println("OK") } //go:noinline func frameless() { for i := int64(0); i < 1<<62; i++ { out += i * i * i * i * i * 12345 } } var out int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 07 17:46:04 UTC 2021 - 1.6K bytes - Viewed (0) -
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) -
src/sync/cond_test.go
<-running // Wait for everyone to run. } for n > 0 { select { case <-awake: t.Fatal("goroutine not asleep") default: } m.Lock() c.Signal() m.Unlock() <-awake // Will deadlock if no goroutine wakes up select { case <-awake: t.Fatal("too many goroutines awake") default: } n-- } c.Signal() } func TestCondSignalGenerations(t *testing.T) { var m Mutex
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 22 18:52:42 UTC 2023 - 5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400_linux.go
const pattern = 0x123456789abcdef var big [1024]uint64 // len must match assembly for i := range big { big[i] = pattern } // Disable GC for the duration of the test. // This avoids a potential GC deadlock when spinning in uninterruptible ASM below #49695. defer debug.SetGCPercent(debug.SetGCPercent(-1)) // SetGCPercent waits until the mark phase is over, but the runtime
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 19:55:29 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/scaninfo/DefaultDaemonScanInfoSpec.groovy
then: 1 * listenerManager.removeListener(daemonExpirationListener) } def "should not deadlock with daemon scan info"() { def manager = new DefaultListenerManager(Scope.Global) def daemonScanInfo = new DefaultDaemonScanInfo(new DaemonRunningStats(), 1000, false, Mock(DaemonRegistry), manager)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 4.1K bytes - Viewed (0) -
src/syscall/zerrors_windows.go
ECONNREFUSED - APPLICATION_ERROR: "connection refused", ECONNRESET - APPLICATION_ERROR: "connection reset by peer", EDEADLK - APPLICATION_ERROR: "resource deadlock avoided", EDEADLOCK - APPLICATION_ERROR: "resource deadlock avoided", EDESTADDRREQ - APPLICATION_ERROR: "destination address required", EDOM - APPLICATION_ERROR: "numerical argument out of domain",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 14 13:21:46 UTC 2018 - 10K bytes - Viewed (0) -
src/runtime/lock_wasip1.go
} func lock(l *mutex) { lockWithRank(l, getLockRank(l)) } func lock2(l *mutex) { if l.key == mutex_locked { // wasm is single-threaded so we should never // observe this. throw("self deadlock") } gp := getg() if gp.m.locks < 0 { throw("lock count") } gp.m.locks++ l.key = mutex_locked } func unlock(l *mutex) { unlockWithRank(l) } func unlock2(l *mutex) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:02:20 UTC 2023 - 2K bytes - Viewed (0) -
src/sync/once.go
// arguments to a function to be invoked by Do: // // config.once.Do(func() { config.init(filename) }) // // Because no call to Do returns until the one call to f returns, if f causes // Do to be called, it will deadlock. // // If f panics, Do considers it to have returned; future calls of Do return // without calling f. func (o *Once) Do(f func()) { // Note: Here is an incorrect implementation of Do: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 2.5K bytes - Viewed (0) -
build-logic/lifecycle/src/main/kotlin/gradlebuild.lifecycle.gradle.kts
setupGlobalState() tasks.registerDistributionsPromotionTasks() tasks.registerEarlyFeedbackRootLifecycleTasks() /** * Print all stacktraces of running JVMs on the machine upon timeout. Helps us diagnose deadlock issues. */ fun setupTimeoutMonitorOnCI() { if (BuildEnvironment.isCiServer && project.name != "gradle-kotlin-dsl-accessors") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 14:39:09 UTC 2024 - 4.8K bytes - Viewed (0)