No description
Find a file
Jonathan Amsterdam f52d1811a6 semaphore: make test time independent of GOMAXPROCS
TestWeighted's runtime was roughly proportional to the number of CPUs,
so it ran a long time on PPCs (160 CPUs).

Make the number of loops in the test an inverse function of the number
of CPUs, to keep the test short.

Change-Id: Id853dbb5e5e2f9fb95966d19ef0c511e3f8080e0
Reviewed-on: https://go-review.googlesource.com/43632
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-05-17 21:12:32 +00:00
errgroup errgroup: fix misleading comment in MD5All example 2016-12-01 22:51:26 +00:00
semaphore semaphore: make test time independent of GOMAXPROCS 2017-05-17 21:12:32 +00:00
singleflight singleflight: copy from internal/singleflight in standard library 2016-10-04 23:36:20 +00:00
syncmap syncmap: release m.mu during (*RWMutexMap).Range callbacks 2017-05-10 20:14:52 +00:00
AUTHORS initial commit 2015-10-30 14:31:46 +11:00
codereview.cfg .: add codereview.cfg 2016-12-06 01:46:32 +00:00
CONTRIBUTING.md initial commit 2015-10-30 14:31:46 +11:00
CONTRIBUTORS initial commit 2015-10-30 14:31:46 +11:00
LICENSE initial commit 2015-10-30 14:31:46 +11:00
PATENTS initial commit 2015-10-30 14:31:46 +11:00
README initial commit 2015-10-30 14:31:46 +11:00

This repository provides Go concurrency primitives in addition to the
ones provided by the language and "sync" and "sync/atomic" packages.