Lines Matching full:lock
14 $this->manual_lock_file = $this->temp_dir.'/.lock';
39 $locks = glob($this->temp_dir.'/*.lock');
41 if (is_file($this->temp_dir.'/.lock')) return 1;
52 $lockfile = $this->temp_dir.'/'.$script_hash.'.lock';
73 $lockfile = $this->temp_dir.'/'.$script_hash.'.lock';
103 $locks = glob($this->temp_dir.'/*.lock');
104 foreach ($locks as $lock) {
105 $this->script_updatelock($lock);
110 * Checks a script lock and removes it if already terminated
112 …* @return integer 3: already no lock, 2: terminated and removed, 1: not terminated, 0: terminate…
140 * Removes a manual lock
142 * @return integer 2: already no lock, 1: success, 0: fail