php-ipc/src/Sem/Semaphore.php

25 lines
287 B
PHP

<?php
namespace NoccyLabs\Ipc\Sem;
use NoccyLabs\Ipc\Key\KeyInterface;
class Semaphore
{
public function __construct(KeyInterface $key, int $max)
{
}
public function acquire(float $timeout)
{
}
public function release()
{
}
}