- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestRaceComp2 (0.1 sec)
-
src/runtime/race/testdata/comp_test.go
c <- true }() s.s1.y = 2 <-c } func TestRaceComp(t *testing.T) { c := make(chan bool, 1) var s S go func() { s.s2.y = 1 c <- true }() s.s2.y = 2 <-c } func TestRaceComp2(t *testing.T) { c := make(chan bool, 1) var s S go func() { s.s1.x = 1 c <- true }() s = S{} <-c } func TestRaceComp3(t *testing.T) { c := make(chan bool, 1) var s S
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 2.3K bytes - Viewed (0)