Overview of SharedMemory library
mainSharedMemory is a C# class library designed for high-performance, low-level inter-process communication (IPC) using memory-mapped files. It provides several specialized abstractions for sharing data between processes, including arrays, buffers, circular buffers, and a bi-directional RPC implementation.
Key features:
- Uses
.NET MemoryMappedFile(for .NET 4.0+) or a custom wrapper (for .NET 3.5). - Supports various synchronization models: lock-free (CircularBuffer) and lock-based (SharedArray, BufferReadWrite).
- Provides a simple RPC channel for master/slave communication.