malkusch\lock\util\DoubleCheckedLocking::__construct PHP Method

__construct() public method

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