blob: 3e2419be7b61377954a0029e7cda4203bb9b9286 [file] [log] [blame]
package disruptor
func (this *Sequence) Store(value int64) {
(*this)[SequencePayloadIndex] = value
}
func (this *Sequence) Load() int64 {
return (*this)[SequencePayloadIndex] // scheduler causes atomic load to run faster?
}
const FillCPUCacheLine uint8 = 8