Skip to content

Allow Concurrent Read/Write Via IPC #13

@jaredoconnell

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.

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