Skip to content

Enable a single reader to be synced up with the writer #4

Open

Description

@bslatkin

Once you know how far behind you are with #3, it'd be nice if a reader can elect to zip forward to sync with the writer and skip a bunch of data. This would be a method like force_sync_all(), except it would hold the reader lock and only allow one reader to be moved. It must only be called by the reader who owns the Pointer being moved. The writer should only ever call force_sync_all(), which blocks all readers because it holds the writer lock.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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