ALERT

[FREE DEMO] Deploy Your Enterprise Cloud in Minutes

File Locking

Definition - What does File Locking mean?

File locking is a data management feature that restricts other users from changing a specific file. This allows only one user or process access to this file at any given time. This is to prevent the problem of interceding updates on the same files.

Techopedia explains File Locking

For example, if process A and process B open the same file, process A then changes the file and saves it. Process B, which still has the original state file, makes some changes then saves it, rendering the changes made by process A lost.

The file locking mechanism was introduced by IBM in 1963 in mainframe computers that used the OS/360. At the time, it was called "exclusive control." This is a first-come, first-served method for file management in multiuser systems. The first process or user to access the file locks out other users from being able to access it. When the file has been updated and control has been relinquished, it becomes unlocked and available for others to access. Modern implementation of this method allows for multiple users to access the file but only the first one to access it may modify it. Some applications allow interceding updates with all the changes selectively merged later on, whether manually or automatically.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.