devel/p5-Mutex 1.011 DragonFly
Various locking implementations supporting processes and threads
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10
- Categories
- devel, perl5
- Package size
- 15.8 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
The newest version among them is 1.011, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-Mutex | 1.011 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-Mutex | 1.011 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Mutex | 1.011 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Mutex | 1.011 newest | no data | - | [email protected] | - |
Version history 1
- 1.011
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install p5-Mutex
From DPorts:
cd /usr/dports/devel/p5-Mutex && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.