NAME

Mail::Box::Locker::POSIX - lock a folder using kernel file-locking

CLASS HIERARCHY

Mail::Box::Locker::POSIX
is a Mail::Box::Locker
is a Mail::Reporter

SYNOPSIS

See Mail::Box::Locker

DESCRIPTION

This locker object is created by the folder to get an exclusive lock on the file which contains the data using the kernel's POSIX facilities. This lock is created on a separate file-handle to the folder file, so not the handle which is reading. Not all platforms support POSIX locking.

METHOD INDEX

The general methods for Mail::Box::Locker::POSIX 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 prefixed with an abbreviation are described in the following manual-pages:

 MR = L<Mail::Reporter>
MBL = L<Mail::Box::Locker>

METHODS

SEE ALSO

Mail::Box-Overview

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.00_20.

Copyright (c) 2001 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.