- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTimerFairness2 (0.23 sec)
-
src/runtime/proc_test.go
} } }() } timer := time.After(20 * time.Millisecond) for { select { case <-c: case <-timer: close(done) return } } } func TestTimerFairness2(t *testing.T) { if runtime.GOARCH == "wasm" { t.Skip("no preemption on wasm yet") } done := make(chan bool) c := make(chan bool) for i := 0; i < 2; i++ { go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.8K bytes - Viewed (0)