BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Mutex1.011 newestnone known-[email protected]-
FreeBSDdevel/p5-Mutex1.011 newestnone known-[email protected]-
HardenedBSDdevel/p5-Mutex1.011 newestno data-[email protected]-
GhostBSDdevel/p5-Mutex1.011 newestno data-[email protected]-

Version history 1

  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.

Dependencies

Run dependencies 2