aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/export_test.go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2019-11-07 14:09:23 +0000
committerBryan C. Mills <bcmills@google.com>2019-11-07 15:04:03 +0000
commit73d57bf80f42eda964768e1761b02ce9257638dc (patch)
tree3ba21d66f67576c718ba4383ddc85214599a4d0f /src/runtime/export_test.go
parente8f01d591f9be2653bfb13c0214c4c96b64aa028 (diff)
downloadgo-73d57bf80f42eda964768e1761b02ce9257638dc.tar.gz
go-73d57bf80f42eda964768e1761b02ce9257638dc.zip
Revert "sync: yield to the waiter when unlocking a starving mutex"
This reverts CL 200577. Reason for revert: broke linux-arm64-packet and solaris-amd64-oraclerel builders Fixes #35424 Updates #33747 Change-Id: I2575fd84d37995d458183caae54704f15d8b8426 Reviewed-on: https://go-review.googlesource.com/c/go/+/205817 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/export_test.go')
-rw-r--r--src/runtime/export_test.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime/export_test.go b/src/runtime/export_test.go
index bd73ac9fee..3c1b4db750 100644
--- a/src/runtime/export_test.go
+++ b/src/runtime/export_test.go
@@ -730,11 +730,3 @@ func RunGetgThreadSwitchTest() {
panic("g1 != g3")
}
}
-
-var Semacquire = semacquire
-var Semrelease1 = semrelease1
-
-func SemNwait(addr *uint32) uint32 {
- root := semroot(addr)
- return atomic.Load(&root.nwait)
-}