- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestParallelRWMutexReaders (0.17 sec)
-
src/runtime/rwmutex_test.go
for i := 0; i < numReaders; i++ { <-clocked } cunlock.Store(true) // Wait for the goroutines to finish. for i := 0; i < numReaders; i++ { <-cdone } } func TestParallelRWMutexReaders(t *testing.T) { if GOARCH == "wasm" { t.Skip("wasm has no threads yet") } defer GOMAXPROCS(GOMAXPROCS(-1)) // If runtime triggers a forced GC during this test then it will deadlock,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 22:00:45 UTC 2023 - 4.2K bytes - Viewed (0)