Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for defBlock (0.23 sec)

  1. src/runtime/trace.go

    	// also no stale generation values left. Therefore, it's safe to flush
    	// any buffers that remain in that generation's slot.
    	const debugDeadlock = false
    	systemstack(func() {
    		// Track iterations for some rudimentary deadlock detection.
    		i := 0
    		detectedDeadlock := false
    
    		for mToFlush != nil {
    			prev := &mToFlush
    			for mp := *prev; mp != nil; {
    				if mp.trace.seqlock.Load()%2 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. src/go/types/subst.go

    		}
    
    	case *Named:
    		// subst is called during expansion, so in this function we need to be
    		// careful not to call any methods that would cause t to be expanded: doing
    		// so would result in deadlock.
    		//
    		// So we call t.Origin().TypeParams() rather than t.TypeParams().
    		orig := t.Origin()
    		n := orig.TypeParams().Len()
    		if n == 0 {
    			return t // type is not parameterized
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/subst.go

    		}
    
    	case *Named:
    		// subst is called during expansion, so in this function we need to be
    		// careful not to call any methods that would cause t to be expanded: doing
    		// so would result in deadlock.
    		//
    		// So we call t.Origin().TypeParams() rather than t.TypeParams().
    		orig := t.Origin()
    		n := orig.TypeParams().Len()
    		if n == 0 {
    			return t // type is not parameterized
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                blockingServer.expect(":cInvalidPing")
                run ":aPing", ":bPing", ":cInvalidPing"
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/17013")
        def "does not deadlock when resolving outputs requires resolving multiple artifacts"() {
            buildFile("""
                import org.gradle.util.internal.GFileUtils
    
                abstract class OutputDeadlockTask extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  5. src/runtime/arena.go

    		}
    		return newobject(typ)
    	}
    
    	// Prevent preemption as we set up the space for a new object.
    	//
    	// Act like we're allocating.
    	mp := acquirem()
    	if mp.mallocing != 0 {
    		throw("malloc deadlock")
    	}
    	if mp.gsignal == getg() {
    		throw("malloc during signal")
    	}
    	mp.mallocing = 1
    
    	var ptr unsafe.Pointer
    	if !typ.Pointers() {
    		// Allocate pointer-less objects from the tail end of the chunk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. pkg/scheduler/scheduler.go

    	// from the SchedulingQueue.
    	// If there are no new pods to schedule, it will be hanging there
    	// and if done in this goroutine it will be blocking closing
    	// SchedulingQueue, in effect causing a deadlock on shutdown.
    	go wait.UntilWithContext(ctx, sched.ScheduleOne, 0)
    
    	<-ctx.Done()
    	sched.SchedulingQueue.Close()
    
    	// If the plugins satisfy the io.Closer interface, they are closed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. src/time/tick_test.go

    // Issue 21874
    func TestTickerStopWithDirectInitialization(t *testing.T) {
    	c := make(chan Time)
    	tk := &Ticker{C: c}
    	tk.Stop()
    }
    
    // Test that a bug tearing down a ticker has been fixed. This routine should not deadlock.
    func TestTeardown(t *testing.T) {
    	t.Parallel()
    
    	Delta := 100 * Millisecond
    	if testing.Short() {
    		Delta = 20 * Millisecond
    	}
    	for range 3 {
    		ticker := NewTicker(Delta)
    		<-ticker.C
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_device.cc

        host_to_device_stream = host_to_device_stream_;
        device_to_device_streams = device_to_device_streams_;
        // The data transfer requests from device to host could arrive out of order,
        // so a single stream would cause deadlock. For this case,
        // xla_device_context would borrow a stream for each transfer request.
        device_to_host_stream = nullptr;
      } else {
        host_to_device_stream = stream_;
        device_to_host_stream = stream_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    	{37, "ENOLCK", "no locks available"},
    	{38, "ENOSYS", "function not implemented"},
    	{39, "ENOTEMPTY", "directory not empty"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    	{37, "ENOLCK", "no locks available"},
    	{38, "ENOSYS", "function not implemented"},
    	{39, "ENOTEMPTY", "directory not empty"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top