Name
IPC::SRLock::Sysv - Set/reset locks using System V IPC
Version
This documents version v0.17.$Rev: 1 $
Synopsis
use IPC::SRLock;
my $config = { type => q(sysv) };
my $lock_obj = IPC::SRLock->new( $config );
Description
Uses System V semaphores to lock access to a shared memory file
Configuration and Environment
This class defines accessors for these attributes:
lockfile
-
The key the the semaphore. Defaults to 12_244_237
mode
-
Mode to create the shared memory file. Defaults to 0666
size
-
Maximum size of a shared memory segment. Defaults to 65_536
Subroutines/Methods
_list
List the contents of the lock table
_reset
Delete a lock from the lock table
_set
Set a lock in the lock table
Diagnostics
None
Dependencies
Incompatibilities
There are no known incompatibilities in this module
Bugs and Limitations
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Author
Peter Flanigan, <pjfl@cpan.org>
License and Copyright
Copyright (c) 2013 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE