GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FILE::FLOCK::FORKING (3)

.ds Aq ’

NAME



 File::Flock::Forking - adjust File::Flock to handle fork()



CONTENTS

SYNOPSIS



 use File::Flock::Forking;
 use File::Flock;



DESCRIPTION

The purpose of File::Flock::Forking is to change the implementation of File::Flock to handle locking on systems that do not hold locks across calls to fork().

If you are using File::Flock or any module that uses File::Flock then and your program uses fork(), then you should import File::Flock::Forking before you import File::Flock or any module that uses File::Flock.

On most operating systems, File::Flock::Forking does nothing. On Solaris, it changes the behavior of File::Flock to be implemented by File::Flock::Subprocess.

You can also force it to use FIle::Flock::Subprocess by with



        $ENV{FLOCK_FORKING_USE} = subprocess



Or force it to use File::Flock with



        $ENV{FLOCK_FORKING_USE} = flock



LICENSE

Copyright (C) 2013 Google, Inc. This module may be used/copied/etc on the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FILE::FLOCK::FORKING (3) 2013-09-11

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.