diff options
| author | Mauri de Souza Meneguzzo <mauri870@gmail.com> | 2023-09-09 13:41:35 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-09-13 18:36:37 +0000 |
| commit | 6ecd5f750454665f789e3d557548bb5a65ad5c3a (patch) | |
| tree | b556839e63fcb2797e7656d42696f67cde385949 /src/os/exec/exec.go | |
| parent | bfa8a8586f6ba62265c31d4edc2027f5b15f7ed3 (diff) | |
| download | go-6ecd5f750454665f789e3d557548bb5a65ad5c3a.tar.xz | |
runtime/internal/atomic: add wasm And/Or operators
In the WebAssembly version of these operators we avoid using
a CAS loop since the Go wasm implementation is single-threaded.
A new test file has been added that has build tags in order to
only test this feature on implemented architectures.
This is part of a series of CLs aimed to add the primitives
for And/Or atomic operations that will be used by the public
sync/atomic apis.
For #61395
Change-Id: Ic67ffefc9cfb626915ea86b6b21b500117710327
GitHub-Last-Rev: bbec3a5f356c55185af0357b929e76a9dfac230e
GitHub-Pull-Request: golang/go#62517
Reviewed-on: https://go-review.googlesource.com/c/go/+/526656
Run-TryBot: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
