- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for defBlock (0.2 sec)
-
src/runtime/mklockrank.go
// select. "hchan": true, // Multiple hchanLeafs are acquired in hchan.sortkey() order in // syncadjustsudogs(). "hchanLeaf": true, // The point of the deadlock lock is to deadlock. "deadlock": true, } func main() { flagO := flag.String("o", "", "write to `file` instead of stdout") flagDot := flag.Bool("dot", false, "emit graphviz output instead of Go") flag.Parse()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.1K bytes - Viewed (0) -
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) -
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/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) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/IntegrationTestTimeout.java
* {@link org.gradle.integtests.fixtures.AbstractIntegrationSpec}. Upon timeout, * all threads' stack traces of current JVM (embedded executer) or forked JVM (forking executer) * are printed to help us debug deadlock issues. */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.METHOD}) @ExtensionAnnotation(IntegrationTestTimeoutExtension.class) public @interface IntegrationTestTimeout {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
pkg/kube/krt/fetch.go
ff := func(o []Event[T], initialSync bool) { f(slices.Map(o, castEvent[T, any]), initialSync) } // Skip calling all the existing state for secondary dependencies, otherwise we end up with a deadlock due to // rerunning the same collection's recomputation at the same time (once for the initial event, then for the initial registration). c.RegisterBatch(ff, false) }) // Now we can do the real fetching
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 2.6K bytes - Viewed (0) -
src/runtime/time_fake.go
func time_now() (sec int64, nsec int32, mono int64) { return faketime / 1e9, int32(faketime % 1e9), faketime } // write is like the Unix write system call. // We have to avoid write barriers to avoid potential deadlock // on write calls. // //go:nowritebarrierrec func write(fd uintptr, p unsafe.Pointer, n int32) int32 { if !(fd == 1 || fd == 2) { // Do an ordinary write. return write1(fd, p, n) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:15:13 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/ProjectArtifactResolver.java
// This is not thread-safe because of lock juggling that happens for project state. When calculating the dependencies for an IDEA model, we can easily // deadlock when there are multiple projects that need to be locked at the same time. ResolvableArtifact resolvableArtifact = allResolvedArtifacts.get(artifact.getId()); if (resolvableArtifact == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 6.3K bytes - Viewed (0) -
test/typeparam/typelist.go
func _[T interface{ ~*int }](p T) int { return *p } // Channel send and receive on a generic type which has a channel as core type. func _[T interface{ ~chan int }](ch T) int { // This would deadlock if executed (but ok for a compile test) ch <- 0 return <-ch } // Calling of a generic type which has a function as core type. func _[T interface{ ~func() }](f T) { f() go f() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 09:04:48 UTC 2024 - 3.1K bytes - Viewed (0)