]> Cypherpunks.ru repositories - gostls13.git/commit
Revert "runtime: convert local var stop,ready at TestDebugCallUnsafePoint to atomic...
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 5 Sep 2022 08:30:02 +0000 (08:30 +0000)
committerMichael Pratt <mpratt@google.com>
Tue, 6 Sep 2022 14:44:23 +0000 (14:44 +0000)
commita60a3dc5bc0336bd6b499bc7e1feb459b1e4a4bc
tree0b11193e957efeea9309ca3b520fb5839724fc2f
parent8a323542190ec3ba8f0ff0ec057e75e25ad1f408
Revert "runtime: convert local var stop,ready at TestDebugCallUnsafePoint to atomic type"

This reverts https://go.dev/cl/427135.

Reason for revert: broke the test it modified on linux-amd64-noopt.

    --- FAIL: TestDebugCallUnsafePoint (0.00s)
        debug_test.go:265: want "call not at safe point", got %!s(<nil>)

Change-Id: I044c9720aed2d5e48b56bd7ab2781462270dcae9
Reviewed-on: https://go-review.googlesource.com/c/go/+/428395
Reviewed-by: xie cui <523516579@qq.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: hopehook <hopehook@golangcn.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/debug_test.go