src/NoSemaphore.php
public function create($semKey = Semaphore::SEM_FTOK_KEY, $maxAcquire = 1, $perms=0666) {
		$this->semaphore = NULL;
		$this->semKey = 1;

		return $this;
	}
public function create($semKey = Semaphore::SEM_FTOK_KEY, $maxAcquire = 1, $perms=0666) {
		$this->semaphore = NULL;
		$this->semKey = 1;

		return $this;
	}
public function create ( $ semKey = Semaphore :: SEM_FTOK_KEY , $ maxAcquire = 1 , $ perms = 0666 ) { $ this -> semaphore = NULL ; $ this -> semKey = 1 ; return $ this ; }
Create a semaphore
@param string $semKey the key of the semaphore - use a specific number or Semaphore::SEM_RAND_KEY or Semaphore::SEM_FTOK_KEY
@param int $maxAcquire the maximum number of processes, that can acquire the semaphore
@param int $perms the unix permissions for (user,group,others) - valid range from 0 to 0777
@throws SemaphoreException
@return \QXS\WorkerPool\Semaphore the current object
Create a semaphore