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