Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPreemptionAfterSyscall (0.3 sec)

  1. src/runtime/proc_test.go

    		}
    	}
    }
    
    func TestPreemptionAfterSyscall(t *testing.T) {
    	if runtime.GOOS == "plan9" {
    		testenv.SkipFlaky(t, 41015)
    	}
    
    	for _, i := range []time.Duration{10, 100, 1000} {
    		d := i * time.Microsecond
    		t.Run(fmt.Sprint(d), func(t *testing.T) {
    			testPreemptionAfterSyscall(t, d)
    		})
    	}
    }
    
    func TestGetgThreadSwitch(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top