Sign in
fuchsia
/
third_party
/
github.com
/
smartystreets
/
go-disruptor
/
80c288d265ecfc4d02ddb338bd3db5d1a7e9d8c9
/
.
/
sequence_386.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)
}