file locking

Get Babylon's Translation Software! Free Download Now!
Babylon 8 - Your all-in-one solution
Award winning translation software trusted by millions. Translate from any language to any language.
View Demo



BabylonEnglish English dictionaryDownload this dictionary
file locking
prevention of access to a file by more than one application, blocking of a file


Wikipedia English The Free EncyclopediaDownload this dictionary
File locking
File locking is a mechanism that enforces access to a computer file by only one user or process at any specific time. The purpose of locking is to prevent the classic interceding update scenario. The interceding update problem may be illustrated as in the following example:  Process 'A' reads a customer record from a file containing account information, including the customer's account balance. Process 'B' now reads the same record from the same file. Process 'A' changes the account balance and writes the new value back to the file. However, process 'B' - which still has the original values of that customer record, makes a different change to its copy of the data (for example, changes the customer's phone number) and re-writes this data to the file. Process B's copy of the data, still containing the original account balance, overwrites the changes made by process A, reverting the account balance to its previous value and causing the update of the customer balance by process 'A' to be lost.
See more at Wikipedia.org...

This article uses material from Wikipedia® and is licensed under the GNU Free Documentation License

Define file locking

Translate file locking





file locking in Chinese | | file locking in French | file locking in Italian | file locking in Spanish | file locking in Dutch | file locking in Portuguese | file locking in German | file locking in Japanese | file locking in Greek | file locking in Turkish | file locking in Hebrew | file locking in Croatian | file locking in Swedish