Skip to content

Concurrency #12

@TheTedder

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.

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