The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



Thread: Mutex in Perl
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 11-12-2007
porter porter is offline
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by Smiling Dragon View Post
The flock function makes a flock system call so the OS will handle it - ie the filesystem itself records the lock and polices it.
Yes, and if the volume is an NFS mount it will lock over rpc.
Reply With Quote