Skip to content

Simplification of the step persist ack part of the runloop #242

@MOZGIII

Description

@MOZGIII

Is there a cleaner way to implement this iteration cycle where we basically want to build up batches and then send the batch ones that happen in sequence? Maybe splitting the iteration (yield only when old_ptr != new_ptr) from the command sending?

Right now the switching between completion batch & wake_batch, then the subsequent send outside of the for loop (line 306) takes too much thinking to really grok what it's doing.

Originally posted by @piercefreeman in #236 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions