Changes for version 0.04 - 2026-04-26
- RWLock write-preferring + writers waiting split
- Barrier broken-on-timeout + is broken()
- sync() croaks; harden DESTROY
- sync sem drain: CAS-loop -> atomic exchange
- idempotent eventfd; aarch64 CI matrix
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