| commit | 12b7875bf2c534c7ec1659a733ec2d82a3f85076 | [log] [tgz] |
|---|---|---|
| author | Russ Cox <rsc@golang.org> | Fri Feb 25 14:29:47 2011 -0500 |
| committer | Russ Cox <rsc@golang.org> | Fri Feb 25 14:29:47 2011 -0500 |
| tree | afcbdb3c3dae6d79115f81ea2e1759228ba2b690 | |
| parent | 22eab1f5c78bb432b951426175b01c9bf97241f3 [diff] [blame] |
sync: use sync/atomic Remove references to custom assembly routines. R=r, r2 CC=golang-dev https://golang.org/cl/4241043
diff --git a/src/pkg/sync/cond_test.go b/src/pkg/sync/cond_test.go index 2b99c91..846f98b 100644 --- a/src/pkg/sync/cond_test.go +++ b/src/pkg/sync/cond_test.go
@@ -11,7 +11,7 @@ func TestCondSignal(t *testing.T) { var m Mutex c := NewCond(&m) - n := 1000 + n := 2 running := make(chan bool, n) awake := make(chan bool, n) for i := 0; i < n; i++ {