diff options
| author | Russ Cox <rsc@golang.org> | 2022-10-17 15:33:29 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-10-18 14:48:54 +0000 |
| commit | 9fedc481ea09a0539cd2669312429ef5416a8949 (patch) | |
| tree | d8762969f7f124d6a38e20d22e1f759f1fab717e /src/runtime/runtime.go | |
| parent | 26b48442569102226baba1d9b4a83aaee3d06611 (diff) | |
| download | go-9fedc481ea09a0539cd2669312429ef5416a8949.tar.xz | |
runtime/internal/atomic: add write barrier-enabled pointer atomics
UnsafePointer.Store, UnsafePointer.CompareAndSwap were missing,
although .StoreNoWB and .CompareAndSwapNoWB existed.
Same for Pointer[T}.
Do the linkname tricks necessary to add those methods.
Change-Id: I925ee27673288accb15ebe93898f9eb01ab46a98
Reviewed-on: https://go-review.googlesource.com/c/go/+/443379
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/runtime.go')
0 files changed, 0 insertions, 0 deletions
