Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSelectStackAdjust (0.51 sec)

  1. src/runtime/chan_test.go

    	<-e    // A tells us it's done
    	c <- 8 // wake up B.  This operation used to fail because c.recvq was corrupted (it tries to wake up an already running G instead of B)
    }
    
    func TestSelectStackAdjust(t *testing.T) {
    	// Test that channel receive slots that contain local stack
    	// pointers are adjusted correctly by stack shrinking.
    	c := make(chan *int)
    	d := make(chan *int)
    	ready1 := make(chan bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
Back to top