BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-Mutex1.011
HardenedBSDdevel/p5-Mutex1.011
GhostBSDdevel/p5-Mutex1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0111.011-1.0111.011
FreeBSD:14:quarterly1.0111.011n/a-1.011
FreeBSD:15:latest1.0111.011n/a1.0111.011
FreeBSD:15:quarterly1.0111.011n/an/an/a
FreeBSD:16:latest1.0111.011n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

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
FileSizeSHA256
Mutex-1.011.tar.gz17447c9aad8b6ebafbdd1de8404d87c5ac1e455d84dca6eb55fa506e3ce3365cb3369
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.