Skip to content

Concurrency #12

Description

@TheTedder

Currently there is a potential issue, especially when using the async SendCommand methods, where two commands could be written to the underlying stream at the same time, causing the message to become garbled. To fix this, a mutex or semaphore could be used to ensure proper concurrent use of the StreamWriter. Consider using TextWriter.Synchronized for this purpose.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions