Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharable MsgChan for sending messages between processes #222

Open
KeithWiles opened this issue Oct 20, 2022 · 0 comments
Open

Sharable MsgChan for sending messages between processes #222

KeithWiles opened this issue Oct 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@KeithWiles
Copy link
Contributor

KeithWiles commented Oct 20, 2022

Difficulty: Medium

The Message Channel (MsgChan) is a library utilizing lockless rings to send/receive 8 byte messages between threads in a single process. The library creates two lockless rings one for sending and one for receiving messages. The current usage of Message Channels is to send messages between Go language threads and the CNDP C code threads. The library is creating and maintaining these lockless rings plus given the developer a simple set of APIs to utilize the channel.

The goal of this task is to modify the library to allow sharing the lockless rings between processes. The messages can not be pointers to other shared memory regions only offsets into the shared memory. The messages can be any 8 byte message and does not need to point to some other memory. The lockless rings appear to already be shared between processes, but the MsgChan structures are not completely sharable.

The implementation should rely on Linux IPC and existing shared memory infrastructure wherever possible.

@KeithWiles KeithWiles added enhancement New feature or request hackathon Possible enhancements for the Hackathon labels Oct 20, 2022
@KeithWiles KeithWiles changed the title Sharable MsgChnl for sending messages between processes Sharable MsgChan for sending messages between processes Jan 5, 2023
@KeithWiles KeithWiles removed the hackathon Possible enhancements for the Hackathon label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant