Searched refs:storageFile (Results 1 – 1 of 1) sorted by relevance
35 private function isLocked($storageFile) { argument37 return file_exists($storageFile . '.lock');40 private function createLock($storageFile) { argument41 $storageDir = dirname($storageFile);52 @touch($storageFile . '.lock');55 private function removeLock($storageFile) { argument57 @unlink($storageFile . '.lock');60 private function waitForLock($storageFile) { argument70 } while ($cnt <= $tries && $this->isLocked($storageFile));71 if ($this->isLocked($storageFile)) {[all …]