Sign in
fuchsia
/
third_party
/
github.com
/
smartystreets
/
go-disruptor
/
8a52c7f3e56aa4952c00814b8b0b8a9a3e56469e
/
.
/
sequence_arm.go
blob: 82a947139bf6200ae9af8b3cad8d11a4bd515500 [
file
] [
log
] [
blame
]
package disruptor
import "sync/atomic"
func (this *Sequence) Store(value int64) {
atomic.StoreInt64(&this.value, value)
}
func (this *Sequence) Load() int64 {
return atomic.LoadInt64(&this.value)
}