Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 501 for rlocked (1.03 sec)

  1. src/runtime/testdata/testprog/lockosthread.go

    			os.Exit(1)
    		}
    		// Exit with the thread locked, which should exit the
    		// main thread.
    		ready <- true
    	}()
    	<-ready
    	time.Sleep(1 * time.Millisecond)
    	// Check that this goroutine is still running on a different
    	// thread.
    	if mainTID != 0 && gettid() == mainTID {
    		println("goroutine migrated to locked thread")
    		os.Exit(1)
    	}
    	println("OK")
    }
    
    func LockOSThreadAlt() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/testprog/stress.go

    // blocked goroutines, LockOSThread, pipes, and GOMAXPROCS).
    
    //go:build ignore
    
    package main
    
    import (
    	"log"
    	"net"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    	"time"
    )
    
    func main() {
    	var wg sync.WaitGroup
    	done := make(chan bool)
    
    	// Create a goroutine blocked before tracing.
    	wg.Add(1)
    	go func() {
    		<-done
    		wg.Done()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/dependency_locking.adoc

    You can also disable locking on a specific configuration.
    This can be useful if a plugin configured locking on all configurations but you happen to add one that should not be locked.
    
    .Unlocking a specific configuration
    ====
    include::sample[dir="snippets/dependencyManagement/dependencyLocking-unlockingSingleConfiguration/kotlin",files="build.gradle.kts[tags=locking-one]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:55:22 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/NebulaPluginsSmokeTest.groovy

            "org.apache.commons:commons-math3": {
                "locked": "3.6.1",
                "requested": "3.6.1"
            }
        },
        "default": {
            "org.apache.commons:commons-math3": {
                "locked": "3.6.1",
                "requested": "3.6.1"
            }
        },
        "runtimeClasspath": {
            "org.apache.commons:commons-math3": {
                "locked": "3.6.1",
                "requested": "3.6.1"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/generators/go122-syscall-steal-proc-sitting-in-syscall.go

    	g := t.Generation(1)
    
    	// Steal proc from a goroutine that's been blocked
    	// in a syscall the entire generation.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcSyscallAbandoned)
    	b0.Event("ProcSteal", trace.ProcID(0), testgen.Seq(1), trace.ThreadID(1))
    
    	// Status event for a goroutine blocked in a syscall for the entire generation.
    	bz := g.Batch(trace.NoThread, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 946 bytes
    - Viewed (0)
  6. src/runtime/preempt.go

    // Goroutine preemption
    //
    // A goroutine can be preempted at any safe-point. Currently, there
    // are a few categories of safe-points:
    //
    // 1. A blocked safe-point occurs for the duration that a goroutine is
    //    descheduled, blocked on synchronization, or in a system call.
    //
    // 2. Synchronous safe-points occur when a running goroutine checks
    //    for a preemption request.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            } else {
                this.mirroredRepositories = Collections.emptyList();
            }
        }
    
        public boolean isBlocked() {
            return blocked;
        }
    
        public void setBlocked(boolean blocked) {
            this.blocked = blocked;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    		pp, _ = pidleget(0)
    	}
    	var locked bool
    	if pp == nil {
    		globrunqput(gp)
    
    		// Below, we stoplockedm if gp is locked. globrunqput releases
    		// ownership of gp, so we must check if gp is locked prior to
    		// committing the release by unlocking sched.lock, otherwise we
    		// could race with another M transitioning gp from unlocked to
    		// locked.
    		locked = gp.lockedm != 0
    	} else if sched.sysmonwait.Load() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  9. src/syscall/exec_linux.go

    	// Set up and fork. This returns immediately in the parent or
    	// if there's an error.
    	upid, pidfd, err, mapPipe, locked := forkAndExecInChild1(argv0, argv, envv, chroot, dir, attr, sys, pipe)
    	if locked {
    		runtime_AfterFork()
    	}
    	if err != 0 {
    		return 0, err
    	}
    
    	// parent; return PID
    	pid = int(upid)
    	if sys.PidFD != nil {
    		*sys.PidFD = int(pidfd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/internal/trace/traceviewer/format/format.go

    }
    
    type Frame struct {
    	Name   string `json:"name"`
    	Parent int    `json:"parent,omitempty"`
    }
    
    type NameArg struct {
    	Name string `json:"name"`
    }
    
    type BlockedArg struct {
    	Blocked string `json:"blocked"`
    }
    
    type SortIndexArg struct {
    	Index int `json:"sort_index"`
    }
    
    type HeapCountersArg struct {
    	Allocated uint64
    	NextGC    uint64
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top