15 lines
210 B
PHP
15 lines
210 B
PHP
|
<?php
|
||
|
|
||
|
namespace NoccyLabs\Ipc\Sem;
|
||
|
|
||
|
use NoccyLabs\Ipc\Key\KeyInterface;
|
||
|
|
||
|
|
||
|
|
||
|
class Mutex extends Semaphore
|
||
|
{
|
||
|
public function __construct(KeyInterface $key)
|
||
|
{
|
||
|
parent::__construct($key, 1);
|
||
|
}
|
||
|
}
|