file locking

A way for one program to reserve a file, or part of one, so other writers do not change it at the same time.

In more detail

Shared filesystems let several machines write one path, so applications must coordinate with locks or risk overwriting each other. Object storage has no locks, which is one reason some applications need file storage.

Related terms

Taught in

References