malkusch\lock\util\DoubleCheckedLocking::__construct PHP 메소드

__construct() 공개 메소드

Sets the mutex.
public __construct ( Mutex $mutex )
$mutex malkusch\lock\mutex\Mutex The mutex.
    public function __construct(Mutex $mutex)
    {
        $this->mutex = $mutex;
    }