Module: IO::Memory

Extended by:
Generic, Linux, POSIX
Defined in:
lib/io/memory/version.rb,
lib/io/memory/generic.rb,
lib/io/memory/posix.rb,
lib/io/memory/linux.rb,
lib/io/memory.rb

Overview

Provides memory-mapped IO objects for zero-copy data sharing with cross-platform support. This module automatically selects the best available implementation based on the platform:

  • Linux: Uses memfd_create() for anonymous memory objects

  • POSIX: Uses shm_open() for shared memory objects

  • Generic: Uses temporary files for maximum compatibility

Defined Under Namespace

Modules: Generic, Linux, POSIX Classes: MemoryError

Constant Summary collapse

VERSION =
"0.0.1"

Method Summary

Methods included from Linux

new, supported?, with

Methods included from POSIX

new, supported?, with

Methods included from Generic

new, supported?, with