Source File
types_64bit.go
Belonging Package
internal/runtime/atomic
// Copyright 2021 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.//go:build amd64 || arm64 || loong64 || mips64 || mips64le || ppc64 || ppc64le || riscv64 || s390x || wasmpackage atomic// LoadAcquire is a partially unsynchronized version// of Load that relaxes ordering constraints. Other threads// may observe operations that precede this operation to// occur after it, but no operation that occurs after it// on this thread can be observed to occur before it.//// WARNING: Use sparingly and with great care.////go:nosplitfunc ( *Uint64) () uint64 {return LoadAcq64(&.value)}// StoreRelease is a partially unsynchronized version// of Store that relaxes ordering constraints. Other threads// may observe operations that occur after this operation to// precede it, but no operation that precedes it// on this thread can be observed to occur after it.//// WARNING: Use sparingly and with great care.////go:nosplitfunc ( *Uint64) ( uint64) {StoreRel64(&.value, )}
![]() |
The pages are generated with Golds v0.7.9-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |