- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestRaceAnnounceThreads (0.54 sec)
-
src/runtime/race/testdata/sync_test.go
} mu.Unlock() x = 2 <-done } // We do not currently automatically // parse this test. It is intended that the creation // stack is observed manually not to contain // off-by-one errors func TestRaceAnnounceThreads(t *testing.T) { const N = 7 allDone := make(chan bool, N) var x int _ = x var f, g, h func() f = func() { x = 1 go g() go func() { x = 1 allDone <- true }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 10 15:05:17 UTC 2020 - 3K bytes - Viewed (0)