Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Classes | Namespaces
file_lock_factory.php File Reference

Flock based file locking factory. More...

Classes

class  core\lock\file_lock_factory
 

Namespaces

namespace  core\lock
  
 

Detailed Description

Flock based file locking factory.

The file lock factory returns file locks locked with the flock function. Works OK, except on some NFS, exotic shared storage and exotic server OSes (like windows). On windows, a second attempt to get a lock will block indefinitely instead of timing out.