Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 555 for synchronize (0.21 sec)

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

    	runtime.GOMAXPROCS(4)
    
    	go func() {
    		// Stop the world; race with LockOSThread below.
    		var m runtime.MemStats
    		for {
    			runtime.ReadMemStats(&m)
    		}
    	}()
    
    	// Try to synchronize both LockOSThreads.
    	start := time.Now().Add(10 * time.Millisecond)
    
    	var wg sync.WaitGroup
    	wg.Add(2)
    
    	for i := 0; i < 2; i++ {
    		go func() {
    			for time.Now().Before(start) {
    			}
    
    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/runtime/trace.go

    	// We ensure this is safe by stopping the world, which acts a global barrier on almost
    	// every M, and explicitly synchronize with any other Ms that could be running concurrently
    	// with us. Today, there are only two such cases:
    	// - sysmon, which we synchronized with by acquiring sysmonlock.
    	// - goroutines exiting syscalls, which we synchronize with via trace.exitingSyscall.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultExecutionPlan.java

    import java.util.TreeSet;
    import java.util.function.Consumer;
    
    import static com.google.common.collect.Sets.newIdentityHashSet;
    
    /**
     * The mutation methods on this implementation are NOT threadsafe, and callers must synchronize access to these methods.
     */
    @NonNullApi
    public class DefaultExecutionPlan implements ExecutionPlan, QueryableExecutionPlan {
        private final Set<Node> entryNodes = new LinkedHashSet<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

                    }
    
                    // AttachConsole also returns ERROR_GEN_FAILURE when the process
                    // doesn't exist, so we need to verify that the pid is valid.
                    if (OpenProcess(SYNCHRONIZE, FALSE, pid) == NULL) {
                        ErrorExit(TEXT("OpenProcess"));
                    }
    
                    // We expect AttachConsole to fail with a particular error if the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. src/syscall/exec_unix.go

    //go:build unix
    
    // Fork, exec, wait, etc.
    
    package syscall
    
    import (
    	errorspkg "errors"
    	"internal/bytealg"
    	"runtime"
    	"sync"
    	"unsafe"
    )
    
    // ForkLock is used to synchronize creation of new file descriptors
    // with fork.
    //
    // We want the child in a fork/exec sequence to inherit only the
    // file descriptors we intend. To do that, we mark all file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/serviceimportcache.go

    		// Ignore events for MCS services that were triggered by this controller.
    		return
    	}
    
    	// This method is called concurrently from each cluster's queue. Process it in `this` cluster's queue
    	// in order to synchronize event processing.
    	ic.queue.Push(func() error {
    		namespacedName := namespacedNameForService(curr)
    
    		// Lookup the previous MCS service if there was one.
    		mcsHost := serviceClusterSetLocalHostname(namespacedName)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      //
      // Socket reads are unguarded but are only made by the reader thread.
      //
      // Certain operations (like SYN_STREAM) need to synchronize on both the frameWriter (to do
      // blocking I/O) and this (to create streams). Such operations must synchronize on 'this' last.
      // This ensures that we never wait for a blocking operation while holding 'this'.
    
      /** True if this peer initiated the connection. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go

    		// We consider every t.Run statement in the loop body, because there is
    		// no commonly used mechanism for synchronizing parallel subtests.
    		// It is of course theoretically possible to synchronize parallel subtests,
    		// though such a pattern is likely to be exceedingly rare as it would be
    		// fighting against the test runner.
    		for _, s := range body.List {
    			switch s := s.(type) {
    			case *ast.ExprStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/runtime/traceruntime.go

    //
    // sched.lock must be held to synchronize with traceAdvance.
    func traceThreadDestroy(mp *m) {
    	assertLockHeld(&sched.lock)
    
    	// Flush all outstanding buffers to maintain the invariant
    	// that an M only has active buffers while on sched.freem
    	// or allm.
    	//
    	// Perform a traceAcquire/traceRelease on behalf of mp to
    	// synchronize with the tracer trying to flush our buffer
    	// as well.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/troubleshooting.adoc

    image::troubleshooting-refresh-intellij.png[]
    
    === Refreshing Eclipse (using Buildship)
    
    If you're using link:https://projects.eclipse.org/projects/tools.buildship[Buildship] for the Eclipse IDE, you can re-synchronize your Gradle build by opening the "Gradle Tasks" view and clicking the "Refresh" icon, or by executing the `Gradle` > `Refresh Gradle Project` command from the context menu while editing a Gradle script.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:22:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top