Icicle\Concurrent\Sync\PosixSemaphore::isFreed PHP Method

isFreed() public method

Checks if the semaphore has been freed.
public isFreed ( ) : boolean
return boolean True if the semaphore has been freed, otherwise false.
    public function isFreed() : bool
    {
        return !is_resource($this->queue) || !msg_queue_exists($this->key);
    }