What is mandatory lock?

Trang Mắm

New member
What is mandatory lock?
Answer
Mandatory locking is
kernel enforced file locking, as opposed to the more usual cooperative file locking used to guarantee sequential access to files among processes. File locks are applied using the flock() and fcntl() system calls (and the lockf() library routine which is a wrapper around fcntl().)
 

Tìm kiếm

Back
Top