File locking is a mechanism that restricts access to a computer file by allowing only one user or process access at any specific time. Systems implement locking to prevent the classic interceding update scenario, which is a typical example of race condition, by enforcing the serialization of update processes to any given file. The following example illustrates the interceding update problem:
Process A reads a customer record from a file containing account information, including the customer's account balance and phone number.
This video is targeted to blind users.
Attribution:
Article text available under CC-BY-SA
Creative Commons image source in video
On this page of the site you can watch the video online File locking with a duration of hours minute second in good quality, which was uploaded by the user Audiopedia 11 October 2015, share the link with friends and acquaintances, this video has already been watched 2,553 times on youtube and it was liked by 3 viewers. Enjoy your viewing!