]> Cypherpunks repositories - gostls13.git/commit
runtime: improve synchronization in TestFinalizerRegisterABI
authorAustin Clements <austin@google.com>
Thu, 15 Apr 2021 21:23:16 +0000 (17:23 -0400)
committerAustin Clements <austin@google.com>
Fri, 16 Apr 2021 00:01:58 +0000 (00:01 +0000)
commitbdddfd10ec26e3d81639bcf8030c281aaf315615
treecf7aac9f96b5243be2f1e7dd42b0e2673a270de3
parentc8fb0ec5a005289e9dd890b746e543b38bbd9528
runtime: improve synchronization in TestFinalizerRegisterABI

Replace busy-wait with a channel.

Change-Id: I51ddfd5dbde15fff56c62c618570e66930902cbb
Reviewed-on: https://go-review.googlesource.com/c/go/+/310630
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/abi_test.go