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