Index: src/pkg/sync/rwmutex_test.go |
=================================================================== |
--- a/src/pkg/sync/rwmutex_test.go |
+++ b/src/pkg/sync/rwmutex_test.go |
@@ -160,7 +160,7 @@ |
RWMutex |
pad [32]uint32 |
} |
- b.RunParallel(func(pb *testing.PB) { |
+ b.RunConcurrent(func(pb *testing.PB) { |
var rwm PaddedRWMutex |
for pb.Next() { |
rwm.RLock() |
@@ -175,7 +175,7 @@ |
func benchmarkRWMutex(b *testing.B, localWork, writeRatio int) { |
var rwm RWMutex |
- b.RunParallel(func(pb *testing.PB) { |
+ b.RunConcurrent(func(pb *testing.PB) { |
foo := 0 |
for pb.Next() { |
foo++ |