Dog Breeds Information and More
  Komondor - Dog Breeds Facts and Information Dog Breeds Selector A to Z dog breeds Forums

 
Dog names
Dog training
Toy dogs
Intelligence
Dog health
Dog worship
Ticks

 
Golden Retriever
Labrador Retriever
Jack Russell
 
Find a Breed
 
Dog Breeds Encyclopedia
 

File lock

In computing, a file lock can be a mutex lock or a shared lock on a file. It is used to prevent more than one process from altering a file at the same time.

One use of file locking is in database maintenance where it can serialize access to the entire physical file underlying a database. While this prevents any other process from access the file it can actually be more efficient than locking a large number of regions in file by removing the overhead of achieving and releasing each lock.

Poor use of file locks, like any computer lock, can result in poor performance or deadlock.

The contents of this article are licensed from Wikipedia.org under the
GNU Free Documentation License. How to see transparent copy