|
NAMEFile::Flock::Forking - adjust File::Flock to handle fork() SYNOPSISuse File::Flock::Forking; use File::Flock; DESCRIPTIONThe 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' LICENSECopyright (C) 2013 Google, Inc. This module may be used/copied/etc on the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |