Sign in
fuchsia
/
third_party
/
github.com
/
smartystreets
/
go-disruptor
/
3b6e38357105e5d0e45144e531375fed1bcfe9ed
/
.
/
sequence_386.go
blob: 5231e52e94215beffae2ad1146d2e3d315dd4215 [
file
] [
log
] [
blame
]
package disruptor
import "sync/atomic"
func (this *Sequence) Store(value int64) {
atomic.StoreInt64(&(*this)[SequencePayloadIndex], value)
}
func (this *Sequence) Load() int64 {
return atomic.LoadInt64(&(*this)[SequencePayloadIndex])
}