Changes for version 0.06 - 2026-07-22
- On-disk format change (v2 -> v3): an existing 0.05 file is refused; recreate it.
- Release a lock still held when its handle is destroyed.
- Keep the parent's locks when a forked child's handle is destroyed: the close path now releases only locks the exiting process took itself (pid + fork-generation check, same guard as the reader-slot release).
- End the seqlock write section when destroying a handle that holds lock_wr; wrunlock alone left seq odd forever and hung every bulk reader (slice/get_raw/Str get).
- Reject Str lengths above 2^32.
Modules
Type-specialized shared-memory buffers for multiprocess access
Provides
in lib/Data/Buffer/Shared/F32.pm
in lib/Data/Buffer/Shared/F64.pm
in lib/Data/Buffer/Shared/I16.pm
in lib/Data/Buffer/Shared/I32.pm
in lib/Data/Buffer/Shared/I64.pm
in lib/Data/Buffer/Shared/I8.pm
in lib/Data/Buffer/Shared/Str.pm
in lib/Data/Buffer/Shared/U16.pm
in lib/Data/Buffer/Shared/U32.pm
in lib/Data/Buffer/Shared/U64.pm
in lib/Data/Buffer/Shared/U8.pm
Examples
- eg/audio_waveform.pl
- eg/basic.pl
- eg/bitflags.pl
- eg/double_buffer.pl
- eg/ev_eventfd.pl
- eg/eventfd_notify.pl
- eg/gl_compute_shader.pl
- eg/gl_indexed_mesh.pl
- eg/gl_particle_sim.pl
- eg/gl_ssbo.pl
- eg/gl_texture_upload.pl
- eg/gl_transform_feedback.pl
- eg/gl_uniform_buffer.pl
- eg/histogram.pl
- eg/memfd_share.pl
- eg/metrics.pl
- eg/multiprocess.pl
- eg/opengl_vbo.pl
- eg/pdl_image_pipeline.pl
- eg/pdl_interop.pl
- eg/persistent_reopen.pl
- eg/point_cloud.pl
- eg/ring_buffer.pl
- eg/semaphore.pl
- eg/shared_config.pl
- eg/shared_log.pl