FreeBSD.software
Home/devel/p5-Mutex

p5-Mutex

1.011

Various locking implementations supporting processes and threads

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

Origin: devel/p5-Mutex
Category: devel
Size: 35.7KiB
License: ART10
Maintainer: dvl@FreeBSD.org
Dependencies: 2 packages
Required by: 2 packages
$pkg install p5-Mutex

Dependencies (2)

Required By (2 packages)

More in devel