Skip to content

Allow Concurrent Read/Write Via IPC #13

Description

@jaredoconnell

Currently, in Process, the IPC socket is declared with: socket: Arc<Mutex<SocketHandler>>

The downside to this is in order to read or write, you need to access the mutex. They cannot be done concurrently.
However, I don't think there is a benefit to single duplex communication.

In the future, especially if this becomes a performance bottleneck, it may make sense to instead have mutexes on the relevant read and write components within the SocketHandler.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions