aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/export_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/export_test.go')
-rw-r--r--src/runtime/export_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/export_test.go b/src/runtime/export_test.go
index 32d33adc79..77e4279b9d 100644
--- a/src/runtime/export_test.go
+++ b/src/runtime/export_test.go
@@ -1164,7 +1164,7 @@ var Semrelease1 = semrelease1
func SemNwait(addr *uint32) uint32 {
root := semtable.rootFor(addr)
- return atomic.Load(&root.nwait)
+ return root.nwait.Load()
}
const SemTableSize = semTabSize