NAME
Mail::Box::Locker::Flock - lock a folder using kernel file-locking
CLASS HIERARCHY
Mail::Box::Locker::Flock
is a Mail::Box::Locker
is a Mail::Reporter
SYNOPSIS
See Mail::Box::Locker
DESCRIPTION
The ::Flock
object lock the folder by creating an exclusive lock on the file using the kernel's flock()
facilities. This lock is created on a separate file-handle to the folder file, so not the handle which is reading.
File locking does not work in some situations, for instance for operating systems do not support flock()
.
METHOD INDEX
Methods prefixed with an abbreviation are described in Mail::Reporter (MR), Mail::Box::Locker (MBL).
The general methods for Mail::Box::Locker::Flock
objects:
MBL DESTROY MBL name
MR errors MBL new OPTIONS
MBL filename MR report [LEVEL]
MBL hasLock MR reportAll [LEVEL]
MBL isLocked MR trace [LEVEL]
MBL lock FOLDER MBL unlock
MR log [LEVEL [,STRINGS]] MR warnings
The extra methods for extension writers:
MR AUTOLOAD MR logPriority LEVEL
MR DESTROY MR logSettings
MR inGlobalDestruction MR notImplemented
METHODS
SEE ALSO
For support and additional documentation, see http://perl.overmeer.net/mailbox/
AUTHOR
Mark Overmeer (mailbox@overmeer.net). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
VERSION
This code is beta, version 2.013.
Copyright (c) 2001-2002 Mark Overmeer. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.