Sign in
fuchsia
/
third_party
/
github.com
/
smartystreets
/
go-disruptor
/
d30722fcbe544a31a63fe9f071a97d381bbe7128
/
.
/
cursor_arm.go
blob: 60db919b4a8ccd22dabc1c8c2f104e807fe997e4 [
file
] [
log
] [
blame
]
package disruptor
import "sync/atomic"
func (this *Cursor) Store(value int64) {
atomic.StoreInt64(&this.value, value)
}
func (this *Cursor) Load() int64 {
return atomic.LoadInt64(&this.value)
}