You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for advice how to implement the following functionality with SharedMemory
I have N number of processes and I would like any of those N processes to broadcast data to other N-1 processes.
I looked at the code and it seems this is not supported out of the box. I am looking how to implement that utilizing SharedMemory classes.
One possible solution is every process to have CircularBuffer with unique name. On start, every process will register the name of his Circular buffer on my own implementation of Memory Mapped file that will act as registry for the active processes. When a process need to broadcast data, he will first read the memory mapped file with the regirations and they will construct many circular buffers using the registration names and then will send the data to each buffer.
Is there easier way to do that using SharedMemory?
The text was updated successfully, but these errors were encountered:
I am looking for advice how to implement the following functionality with SharedMemory
I have N number of processes and I would like any of those N processes to broadcast data to other N-1 processes.
I looked at the code and it seems this is not supported out of the box. I am looking how to implement that utilizing SharedMemory classes.
One possible solution is every process to have CircularBuffer with unique name. On start, every process will register the name of his Circular buffer on my own implementation of Memory Mapped file that will act as registry for the active processes. When a process need to broadcast data, he will first read the memory mapped file with the regirations and they will construct many circular buffers using the registration names and then will send the data to each buffer.
Is there easier way to do that using SharedMemory?
The text was updated successfully, but these errors were encountered: