Swoole Swoole\Lock::__construct

(PECL swoole >= 1.9.0)

Swoole\Lock::__construct — Construct a memory lock.


설명

public Swoole\Lock::__construct(string $type = ?, string $file_lock_location = ?)

Swoole 잠금은 여러 광고 또는 프로세스 간의 데이터 동기화에 사용됩니다.


매개변수

type
file_lock_location

반환 값