Initial commit
This commit is contained in:
25
src/Sem/Semaphore.php
Normal file
25
src/Sem/Semaphore.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user