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)
}