]> Cypherpunks repositories - gostls13.git/commit
only use mach kernel semaphores for actual contention.
authorRuss Cox <rsc@golang.org>
Wed, 24 Sep 2008 17:25:28 +0000 (10:25 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 24 Sep 2008 17:25:28 +0000 (10:25 -0700)
commit5ff12f871f2690c86fc31a1dfccb3bfc0524168c
treef64717b2149704c19c214d701aa58db8f2a52b6e
parenteea21f8b8507e8d993a956b0985b3732109dbd15
only use mach kernel semaphores for actual contention.
running rob's powser p.go:

3.21u 2.58s 5.80r   6.out # old
1.48u 0.05s 1.54r   6.out # new

R=r
OCL=15748
CL=15750
src/runtime/rt1_amd64_darwin.c
src/runtime/runtime.h