Swoole\Lock::lock

Try to acquire the lock. It will block if the lock is not available.

Description

public void Swoole\Lock::lock()

Parameters

This function has no parameters.

Return Values