With mandatory locking, once a process acquires an exclusive lock, the operating system will prevent any other process from accessing the locked file.
An operating system (OS) is a type of system software that controls how computer hardware and software resources are used and offers basic services to other software applications.
Operating systems that use time-sharing plan activities to make the most of the system's resources. They may also contain accounting software to allocate costs for processing time, mass storage, printing, and other resources.
Although application code is typically run directly by hardware and frequently makes system calls to an OS function or is interrupted by it, the operating system serves as a bridge between programs and computer hardware for hardware functions like input and output and memory allocation. From mobile phones and video game consoles to web servers and supercomputers, many devices that house a computer have operating systems.
To learn more about operating system from the given link:
brainly.com/question/22811693
#SPJ4