Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for XTestChildFinishesFirst (0.33 sec)

  1. src/context/context_test.go

    		t.Errorf("<-precanceledChild.Done() blocked, but shouldn't have")
    	}
    	if e := precanceledChild.Err(); e != Canceled {
    		t.Errorf("precanceledChild.Err() == %v want %v", e, Canceled)
    	}
    }
    
    func XTestChildFinishesFirst(t testingT) {
    	cancelable, stop := WithCancel(Background())
    	defer stop()
    	for _, parent := range []Context{Background(), cancelable} {
    		child, cancel := WithCancel(parent)
    
    		select {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 19:13:01 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top