Changes for version 0.05 - 2026-05-26
- RWLock dead-reader recovery: SIGKILL'd reader no longer pins the counter; 1024-slot per-process mirror drains dead contributions on wrlock timeout
- SYNC_VERSION 1 → 2 (RWLock files only); existing maps must be recreated
Modules
Shared-memory synchronization primitives for Linux
N-process rendezvous point
condition variable with built-in mutex
one-time initialization gate
reader-writer lock
CAS-based counting semaphore
Provides
in lib/Data/Sync/Shared.pm
in lib/Data/Sync/Shared.pm
in lib/Data/Sync/Shared.pm
Examples
- eg/barrier.pl
- eg/condvar.pl
- eg/connection_pool.pl
- eg/downgrade.pl
- eg/eventfd_fork.pl
- eg/eventfd_notify.pl
- eg/eventfd_poll.pl
- eg/guard.pl
- eg/lazy_init.pl
- eg/map_reduce.pl
- eg/memfd_share.pl
- eg/once.pl
- eg/pipeline.pl
- eg/rate_limiter.pl
- eg/rwlock.pl
- eg/rwlock_cache.pl
- eg/semaphore.pl
- eg/stale_recovery.pl
- eg/wait_while.pl