M6: background work at Level M (chunkSize, background) #
background y after inserting element y: the chunk of y grows by one, a full quiet group
starts its split, the group and chunk splits of y are driven, and the reservation runs. Each
part is a procedure, so that its locals stay apart; the agreement is stated along Level F's run,
given as a trace of the parts.
chunkSize c true #
Procedure incrementing a chunk size and updating its quiet-queue membership.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Procedure starting the incremental split of a full group.
Equations
- OrderMaintenance.Impl.sgsP = { name := "startGroupSplit", params := ["g"], rets := [], body := OrderMaintenance.Impl.startGroupSplitS }
Instances For
Procedure advancing the split associated with a group.
Equations
- OrderMaintenance.Impl.dgP = { name := "driveGroup", params := ["g"], rets := [], body := OrderMaintenance.Impl.driveGroupS }
Instances For
Procedure advancing the split associated with a chunk.
Equations
- OrderMaintenance.Impl.dcP = { name := "driveChunk", params := ["x"], rets := [], body := OrderMaintenance.Impl.driveChunkS }
Instances For
Procedure spending the scheduled reservation budget on the priority queue.
Equations
- OrderMaintenance.Impl.resP = { name := "reservation", params := [], rets := [], body := OrderMaintenance.Impl.reservationS }
Instances For
startGroupSplit g when group g is quiet and full.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
The chunk containing the element with the given index.
Equations
- OrderMaintenance.Impl.cOf t y = (t.Gs.getX (OrderMaintenance.Impl.gOf t y)).chk
Instances For
background's test for starting the split of y's group.
Equations
- OrderMaintenance.Impl.bgSplit t y P = ((t.Gs.getX (OrderMaintenance.Impl.gOf t y)).st == OrderMaintenance.Model.St.quiet && decide ((t.Gs.getX (OrderMaintenance.Impl.gOf t y)).size ≥ P.G))
Instances For
insertAfter #
Procedure performing the size updates and background work after insertion.
Equations
- OrderMaintenance.Impl.bgP = { name := "background", params := ["y"], rets := [], body := OrderMaintenance.Impl.backgroundS }