Skip to content

Support safe concurrent log commands #5

Description

@amir-arad

Today, the log read and write rewrite the whole file.
If we want logs to be added from the game we need to make sure we make the read\write command atomic.
implementation : instead of writing each line directly, push lines to a buffer and write it all at once.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions