- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestRaceChanSendSelectClose (0.32 sec)
-
src/runtime/race/testdata/chan_test.go
recover() compl <- true }() c <- 1 }() go func() { time.Sleep(10 * time.Millisecond) close(c) compl <- true }() <-compl <-compl } func TestRaceChanSendSelectClose(t *testing.T) { compl := make(chan bool, 2) c := make(chan int, 1) c1 := make(chan int) go func() { defer func() { recover() compl <- true }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 19:55:29 UTC 2023 - 11K bytes - Viewed (0)