devel/p5-Mutex 1.011 FreeBSD
Various locking implementations supporting processes and threads
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10
- Categories
- devel, perl5
- Package size
- 16.3 KiB, 35.7 KiB installed
Description
This module, a standalone version of MCE::Mutex, implements locking methods that can be used to coordinate access to shared data from multiple workers spawned as processes or threads.
The inspiration for this module came from reading Mutex for Ruby.
$m1 = Mutex->new( ); $m1->impl(); # Channel $m2 = Mutex->new( path => /tmp/my.lock ); $m2->impl(); # Flock $m3 = Mutex->new( impl => "Channel" ); $m3->impl(); # Channel $m4 = Mutex->new( impl => "Flock" ); $m4->impl(); # Flock
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Mutex | 1.011 |
| HardenedBSD | devel/p5-Mutex | 1.011 |
| GhostBSD | devel/p5-Mutex | 1.011 |
Install
Binary package:
pkg install p5-Mutex
From the ports tree:
cd /usr/ports/devel/p5-Mutex/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Mutex>0:devel/p5-Mutex
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.011 | 1.011 | - | 1.011 | 1.011 |
| FreeBSD:14:quarterly | 1.011 | 1.011 | n/a | - | 1.011 |
| FreeBSD:15:latest | 1.011 | 1.011 | n/a | 1.011 | 1.011 |
| FreeBSD:15:quarterly | 1.011 | 1.011 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.011 | 1.011 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
p5-ExtUtils-MakeMaker>0: devel/p5-ExtUtils-MakeMaker
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 8
- %%SITE_PERL%%/Mutex.pm
- %%SITE_PERL%%/Mutex/Channel.pm
- %%SITE_PERL%%/Mutex/Flock.pm
- %%SITE_PERL%%/Mutex/Util.pm
- %%PERL5_MAN3%%/Mutex.3.gz
- %%PERL5_MAN3%%/Mutex::Channel.3.gz
- %%PERL5_MAN3%%/Mutex::Flock.3.gz
- %%PERL5_MAN3%%/Mutex::Util.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Mutex-1.011.tar.gz | 17447 | c9aad8b6ebafbdd1de8404d87c5ac1e455d84dca6eb55fa506e3ce3365cb3369 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.