Esempio n. 1
0
 public function testLock()
 {
     $key = uniqid();
     $storage = new Storage($key);
     $storage->destroy();
 }
Esempio n. 2
0
 /**
  * Initialize storage with empty values
  */
 protected function initEmptyStorage()
 {
     $this->shm->set(self::K_SEM_COUNT, 0);
 }