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