Sign in
fuchsia
/
third_party
/
github.com
/
smartystreets
/
go-disruptor
/
dd569ccee440cc072f347889451e72d011da5863
/
.
/
sequence_arm.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])
}